Giter Club home page Giter Club logo

tic-tac-toe's Introduction

Tic-Tac-Toe

Requirments

* Unity 2020.2.7f1
* Android

Some Considerations

* The target resolution is: 640 x 960

* In the easy level, the npc selects a random position
	* The code is prepared to use the an "inversed minimax" where we would pick always the best choice for the player, but this was basically the npc plays the first empty cell, and didn't feel "real".
* In the medium level, I use a random to choose between random and minimax. The randomness has a 70% probability of choosing minimax. So, it is more medium-hard than medium-easy.
* In the hard level is the minimax algorithm, with a few optimizations for the first defensive / attacking move 

* I didn't pay much attention to the aspect of the game, but I did add a few sounds (win, draw, lost and music background). For the line that indicates where was the match, I use animations. However, my animation could be done with a prefab creation I believe this the best way in terms of scalability.

* For the scoreboard I use playerPrefs

tic-tac-toe's People

Contributors

toscan0 avatar

Stargazers

 avatar

Watchers

 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.