GithubHelp home page GithubHelp logo

tic_tac_toe's Introduction

Tic_Tac_Toe

This is a simple board game played by 2 human players. Two players are supposed to draw noughts and crosses taking turns on a board. Player 1 may draw noughts while player 2 may draw crosses. The player who can place their symbol diagonally, horizontally, or vertically in a row is the winner of the game.

  1. If both players failed to draw 3 of his/her symbols in a row (diagonally, horizontally, or vertically) the game is a draw.
  2. A player who can place 3 of his/her symbols diagonally, horizontally, or vertically in a row; before the other player is the winner of the game.

Task of this game

1.use proper Python 3.x program constructs such as packages, modules, functions, variables, data structures, etc. to develop this program. 2. The player must be able to do below tasks • View the past game play history

  1. This is stored by using either a file base or a database (a DB will carry more marks) 2.A DB is used, username must be “root” with no passwords and the server must be “localhost” • Two players must be able to play this game as many times they like.
  2. Players must also have the ability to exit the game as they desire at any time. • Your program should keep track of wins, losses and draws of each player. This can be for the whole game play history or per session. • Your program must be able to display stats like below. This can be for the whole game play history or per session.
  3. Total game plays
  4. Total wins by player 1
  5. Total wins by player 2
  6. Total draws
  7. can use external package which will help you to develop the game. • CANNOT use ready-made game packages for this game.
  8. A challenge activity will be to save/display the result in a HTML file so you can see the past game plays in a web browser.
  9. You are to develop a console-based application with a suitable menu system to complete this task.

tic_tac_toe's People

Contributors

pininduwk avatar

Watchers

 avatar

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.