Giter Site home page Giter Site logo

tic-tac-vue's People

Contributors

andreaselia avatar darrentaytay avatar hkan avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tic-tac-vue's Issues

Random player finder

The ability to play with random players without having to know their username would be nice.

Order Leaderboard

The leaderboard needs to be ordered to make it easier to read.

At first glance, it looks like it should be ordered just by the number of wins, but I don't think that's the correct heuristic to use.

Ideally, it should be sorted by number of wins - number of losses.

This would, instead of the current leaderboard values which are:

Username Wins / Losses
darren 2 / 2
abdreaselia 2 / 2
andreaselia 4 / 4
hkan 0 / 3
mdavis1982 4 / 1
gweg 2 / 3
conceptcore 3 / 4
nns 2 / 0
Wouter 6 / 0
Mamaa 0 / 6
Nsb 10 / 4
Gewoonmemyselfandi 4 / 10

Give the following values:

Username Wins / Losses
Nsb 10 / 4
Wouter 6 / 0
mdavis1982 4 / 1
nns 2 / 0
darren 2 / 2
abdreaselia 2 / 2
andreaselia 4 / 4
conceptcore 3 / 4
gweg 2 / 3
hkan 0 / 3
Mamaa 0 / 6
Gewoonmemyselfandi 4 / 10

This seems to give a better reflection who is actually winning.

Additionally, if possible, it should sort by the above, but the secondary sort criteria should be the username so that players with the same score are listed alphabetically.

@andreaselia @hkan What do you guys think?

Issue with leaderboard updating

There is currently an issue with the leaderboard on server side where both the socket and opponent will update the leaderboard.

Demo not working

The demo page cannot be found anymore. You could consider to host it on GitHub Pages.

Leaderboard

A leaderboard would be great to store the username along with how many wins and how many losses they have had.

Turn countdown

Players should be time limited to play their turn. Timeout should result in a lose.

Opponent Indicator

Now that usernames are implemented, instead of saying It's opponent's turn. possibly change this to It's <username>'s turn.?

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.