CMPUT174 Study Guide - Final Guide: Empty String, Init, Opentext
ceruleanzebra152 and 30 others unlocked
25
CMPUT174 Full Course Notes
Verified Note
25 documents
Document Summary
Tic tac toe (ttt v1: must observe the game first to know what is expected and what it should be like, the goal of the game is to get three of the same mark in a row. Planning (game description: when the game starts, a window opens , describe the window, size: 500 pixels by 400 pixels, title: tic tac toe , blackground: black, describe what is inside the window! A uniform 3x3 grid of tiles is displayed. Each tile is black with a white border: describe what happens in response to player actions! The three winning tiles flash and the game ends: draw: if all tiles are occupied and neither player has won, then the game is a draw. Once the game ends, the tiles flash until the player closes the window: describe how the player can close the window! If the player clicks the close box, the window closes. Design issue mapping cursor position to game object.