GithubHelp home page GithubHelp logo

chibielora / tictactoe-pj Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.14 MB

Tic Tac Toe client app for GA project.

Home Page: https://chibielora.github.io/tictactoe-pj/

License: Other

JavaScript 67.64% CSS 12.57% HTML 14.03% Shell 5.76%
projects portfolio general-assembly general-assembly-boston

tictactoe-pj's Introduction

Tic-Tac-Toe Application

The goal of this game is to emulate a simple board of tic-tac-toe and be able to play against another remote user. The game will always start with X and by the end of each game there will be a message showing the winner and the total plays will be stored in the server.

Technologies

Planning and Problem Solving

The wireframe and 1x1 session pre-project helped with this first version. Then the api calls were built and all the events in the game besides messages were relocated to the game events file for organization purposes. It was decided that building the icons instead of using fonts for the game parts would work best for different types of screen. The game follows a simple logic of play-by-play until all the squares are occupied and then prompts a message that lets the user know who won and also resets the board to a new game right after the message is aknowledged.

Unsolved Problems

There's still a lot to work on the alerts and messages responses, especially the illegal move alert that is still floating on the screen. There will be some layout rebuilding in the future, and I intend to reposition the sign-in/out/up and change password buttons to the top of the screen. I also plan on working in the scores, so that we have the total for X and 0, respectively.

Wireframes

Project Wireframes

User Stories

  • As a user, I can toggle dark mode to choose the color of my preference.
  • As a user, I can sign up and log into my game account.
  • As a user, once logged in, I can change my password.
  • As a user, I can start a new game.
  • As a user, I am able to play in turns and receive alerts when play is illegal.
  • As a user, I can see the total score.
  • As a user, I can start a new game right after the first is finished.
  • As a user, I can access my score and play in multiple devices.
  • As a user, I can sign out and my information will be stored.

tictactoe-pj's People

Contributors

chibielora 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.