Giter VIP home page Giter VIP logo

game-assisgnment_v2's Introduction

Tic Tac Toe

Tic Tac Toe is a simple game consisting of a 3x3 grid in which players take turns making their mark (cross or circle) until either one player achieves a connected line of 3 marks or the board state prevents either player from achieving a line of 3 marks which results in a draw.

Here are the improvements listed in order of increasing difficulty:

  1. Get selected square with user id (val, id) format.
  2. Initialise Board State when game start.
  3. When Game complete (Tie/Win) Game will automatically restart.
  4. When Someone Wins show popup message which player wins.
  5. If Game is tie the show message No one wins game tie.

Technical requirements

  1. Node Js 15.9.0 with Type Script (TS).
  2. React Js 17.0.2 with Type Script (TS).

Structure

Detailed directory structure for both front-end and back-end.

.
│
├── backend                 # Contain All Back end Logic (Node Js)
│   ├── node_modules          
│   └── source         
│     ├── controllers           #contain all controller that is required to run applications
│     └── routes                # contains all routes of applications
│ 
└── frontend             # Contain All Front End Design and Patterns (React With Type Script)
    ├── node_modules         
    ├── public         # Public folder contain all public resources
    └── src             #src contains all UI of applications
      └── Components    #Contain all components

Usage

git clone [email protected]:webexpert4rv/Game-assisgnment_v2.git
#For Backend (Node Js)
cd backend
npm install 
npm run dev

#for Front End (React Js)
cd frontend
npm install 
npm start

Now visit localhost:3000 (for frontend) And localost:6060 (for backend)

game-assisgnment_v2's People

Contributors

webexpert4rv avatar

Watchers

James Cloos avatar  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.