![]() (Strongly suggest that you start by writing code comments for each of the steps in Suggested procedure is to write a list of steps (pseudo code) for each AI,Īnd only then implement them. Stage 3: Create Two Different AI Botsĭesign two different AI’s to play the game. Important : Your code must demonstrate the game loop and input/update concepts to be accepted. The input()/update() (or equivalent) blocks of code of your main game loop should support an external call to an AIįunction/object method that is able to observe the current game state and then make its next move. Stage 2: Implement Game Loop Model and External AI Call cut-n- paste bits if that helps), or ignore it – it’s up to you. If you are unsure of how to approach this, there is an implementation provided. (It’s okay if you use Word or pen/paper for yourĭesign.) Submit this design document to Doubtfire and commit to your repo. Show your design to the tutor and make sure ![]() Stage 1: Create Software Design (Seriously)Ĭreate a design/outline on paper first for the overall game (not the AI). Ø A modular block of AI code that can be easily changed. O render() of the game state to the user. O update()’ing of the game model (including game rules), and Ø A clear game loop architecture that contains: ![]() The two most important aspects that you must have in your implementation are: Your software design can be simple functions (strongly suggested if you are not sure where to start) or a more OOĭesign. Supports the development and comparison of computer-controlled AI players (bots). © Clinton Woodward, Swinburne SSCET Task 3 – Lab: Tic -Tac-Toe SummaryĬreate a console based (command line interface or CLI) version of the simple game Tic-Tac-Toe in python that
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |