cs3201johnchittamfrogger's People
cs3201johnchittamfrogger's Issues
Remove reimplemented functionality in RoadManager
RoadManager is reimplementing a lot of functionality of setting the location that is already available in the GameObject.
Remove canvas from non-GameManager classes
GameManager should be only model/view class that knows about the canvas. Others classes should not have a canvas.
Add five home landing spots
Add five home landing spots spaced and centered in the top shoulder that the frog must land in. When the frog lands in it, display a different frog home sprite. Note: A frog cannot land in the same home twice, and the game will be over when all five home spots are occupied or the frog has lost all four lives.
Make RoadManager enumerable
do not have list of cars in RoadManager
Make LaneManager enumerable
do not have list of cars
Add dying animation
When a frog collides with a vehicle, the frog goes through a four frame dying animation sequence instead of the frog instantaneously being moved to its start position. Two of the frames can be just changing the color of the frog, but the other two must be a noticeable change in the shape in the frog, the last frame could be something like an X, crossbones, or a skull & crossbones. After the frog’s dying animation is complete, the frog should be placed at is starting position.
Optimize screen size constants in PlayerManager
Constants for the screen size in PlayerManager should come from values in GamePage and not be redefined using literal values again.
Optimize lane behavior
Modify the behavior of the lanes as follows:
a. Types of vehicles in the lanes will be the same as before:
i. Lane 1 – Vehicle 1 moves to the left.
ii. Lane 2 – Vehicle 2 moves to the right.
iii. Lane 3 – Vehicle 1 moves to the left.
iv. Lane 4 – Vehicle 2 moves to the left.
v. Lane 5 – Vehicle 1 moves to the right.
b. As before, the vehicles in the first lane should have the slowest speed and each lane
the vehicles will move a little faster than the previous lane. All vehicles in a lane will
move the same speed.
c. What will be different this time is that each lane will start out with one vehicle in it
and as time goes on instead of the vehicles gaining speed, vehicles will be added to
the lane one at a time.
i. When adding a vehicle they cannot be on top of one another.
ii. The max number of vehicles per lane will be:
- Lane 1 – 3
- Lane 2 – 2
- Lane 3 – 4
- Lane 4 – 3
- Lane 5 – 5
iii. Note: The vehicles will not gain speed as the game goes on in this version.
d. When a player loses his/her life the vehicles will reset back to one vehicle per lane.
Add life timer and modified scoring
Add a 20 second timer. The frog must make it to a home landing spot before the 20 seconds run out, or it loses a life. Timer should reset when the frog loses a life or makes it to a home spot. Use some kind of scoring method proportional to the amount of time left on the timer
Make Road contain vehicles instead of lanes
This will help eliminate the need for nested loops to access vehicles
Add additional life
Change the functionality so a player has four lives instead of three
remove early return point in GameManager
Un-invert if-statement
cars regenerate after game over
Cars keep appearing after game ends (more cars than are supposed to be in lane)
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.