hexgame's People
hexgame's Issues
First hex display location
When a client joins and is given a hex, it should be centered in their screen. Currently it is drawn a little down and to the right of center.
update canvas aspect ratio on resize
Aspect ration is currently update on window resize; that should actually be on canvas resize.
Syncing hex ownership
While David and I were testing we encountered a seemingly small sync issue. I thought I had taken all of his hex's, but he said he still had 3 left which were adjacent to me. Afterwards, when he clicked to take one of my hex's I did get the update.
Input for mobile
Currently the game isn't unusable on mobile. Need to add functionality to handle tap, so mobile users can attack, pan, and zoom.
Auto scroll chat
When the chat window fills up, the only way you know there is a new message is if you see the scroll bar change size. Need to make the chat window auto scroll so you seem all new messages immediately.
Browser compatibility
For now I think we are fine to only support Chrome, but in the future we'll need to support all major browsers.
One issue I know of that currently exists is for events in index.html, event.originalEvent is being used, which appears to be a chrome only feature.
Send client errors to server
Whenever other people start using the game, we'll want to know if they are experiencing any problems w/o needing them to tell us.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.