{"title":"Nifty Assignment: Viper","authors":"Ben Stephenson","doi":"10.1145/3593342.3593343","DOIUrl":null,"url":null,"abstract":"This assignment guides students through the creation of a snake-style game. A substantial code base is provided which includes the user interface and computer-controlled opponents. Students extend the provided code by implementing the functionality required for a human player. The assignment focuses on the use of lists (both one and two-dimensional) and the creation of new functions. It assumes that students have prior experience with elementary programming, decision making, and repetition constructs. The result of this assignment is a complete, playable game with AI players that provide an appropriate challenge for reasonably novice players.","PeriodicalId":378747,"journal":{"name":"Proceedings of the 25th Western Canadian Conference on Computing Education","volume":"22 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-05-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 25th Western Canadian Conference on Computing Education","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3593342.3593343","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
This assignment guides students through the creation of a snake-style game. A substantial code base is provided which includes the user interface and computer-controlled opponents. Students extend the provided code by implementing the functionality required for a human player. The assignment focuses on the use of lists (both one and two-dimensional) and the creation of new functions. It assumes that students have prior experience with elementary programming, decision making, and repetition constructs. The result of this assignment is a complete, playable game with AI players that provide an appropriate challenge for reasonably novice players.