Code Monkey home page Code Monkey logo

simpletictactoe's Introduction

simpleTicTacToe

A simple console game of Tic Tac Toe written in C#. I've made this game before but this time I wanted to make the most well-written version I could.

I used Visual Studio and .NET to compile/execute.

Version 1: Completed!

This initial version was just getting the essential requirements done.

  • Draw/update the board on each turn
  • Users can input their selection each turn to play
  • The user's piece will appear in whichever space they choose on the turn
  • When there is 3 of the same pieces in a row the game ends
  • When there are no more spaces left the game ends

Version 2: Future Improvments - TBC

I plan to add some improvements to this little application in the future. I've listed these improvements below:

  • Allowing users to choose to 'restart' or 'quit' once the game is over
  • Adding ability for users to 'restart' or 'quit' at any time during the game
  • Adding ability for users to 'save' and 'reload' the game later to keep playing (Closing & Reopening app)
  • Adding ability for players to input names at the start of the game, and have these display within the game header, as well as in any of the winning condition messages
  • Adding a 'best out of 3', 'best out of 6' & 'best out of 12' option at the start of the game that allows for a longer, and more fun game experience
  • Adding a 'help' menu which can be accessed at any time throughout the game to display the rules and the controls to users

If you are looking at my repo, I hope you enjoyed or learnt something :)

Happy coding! Kati-e

https://github.com/kati-e/

Last updated: 14/01/2023

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.