In this section you can find tasks based on functions.
You need to create your own version of the classic game of Hangman. You will need to get a random word out of an array of available words, display the length of the word, give the user X amount of lives and if they guess correctly you need to display the word with the letters […]
Shhh. They are listening! We need a plan… I know, let us use a cipher to hide our conversations. That way they will not understand what we say. The cipher works like this. You take a sentence and split it into two lists. One has the even words, the other the odd words. All punctuation […]
You are to write a Tic Tac Toe game. This must be broken down into functions to make the task easier. Your game must do the following – Display a Tic Tac Toe board after every go Allow a human to play against the computer Develop some AI to play Tic Tac Toe Ensure that […]
Leave a Reply