pokemonbotdown's People
pokemonbotdown's Issues
Relocate keyDifferences(a,b)
We should move this out somewhere else. Some sort of file for utility functions.
https://github.com/thestuckster/pokemonBotDown/blob/master/client2/pokemonClient.js#L225
Player name assertion will not always be true
Unfortunately, I am finding that this assertion will also fail if the opponent leaves :(
https://github.com/thestuckster/pokemonBotDown/blob/master/client2/pokemonClient.js#L87
It looks like if the opponent leaves args[1]
will be undefined.
handleSystemLine assertion will not always be true
This assertion will not always be true:
https://github.com/thestuckster/pokemonBotDown/blob/master/client2/pokemonClient.js#L49
When a user changes their avatar, line
will be equal to "Avatar changed to:".
Turn object reform
Right now all of the battle code and interface is going into battle.js.
I'm guessing that eventually it might be very worthwhile to delegate a lot of stuff through a Turn class. Without it, the Battle object is probably going to handle a lot of nasty state about what's going on.
Right now I'm going to continue to put turn logic into Battle.js, because I don't have a good enough understanding of what is sent and needed every turn. (I'm going into this project assuming that anything we write is going to be bad the first time through).
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.