kurtisnelson / oregontrail Goto Github PK
View Code? Open in Web Editor NEWImplementation of Oregon Trail for 2340
Implementation of Oregon Trail for 2340
A skeleton map needs to be able to be generated.
Things need to die.
Player can buy items
For every item purchased, that amount is deducted from the player's cash
For every item purchased, that items weight is deducted from the the wagon capacity
Player cannot buy an item if they don't have the money
Player cannot buy the item if the wagon's load would be exceeded
Food on the update screen does not update as the wagon travels. Additionally, other wagon stats such as party health, amount traveled per day, etc should be shown.
Last slice for the semester, allow the user to save the game state and reload on start-up. If player loads a game, they should restore all their previous information (money, profession, location, etc). You should pick four random events from the list and implement them.
DEMO REQUIREMENTS
At game start-up, the player should be given the option to load a previous game.
During game play, after the wagon departs Independence, there should be a way for the player to save the game.
After saving, the player may continue to play, or exit the game.
Each turn (move) of the wagon, there should be a check for a random event.
If the event happens, the appropriate action should be taken.
There is still more stuff to make this a fully functional game, but that would all be extra credit.
Criteria
Player can save the current game state .................................... 10
Player can load a saved game ................................................... 10
Game state is correctly loaded and game can be played ........... 25
Random events occur during game ............................................ 25
If random event occurs, appropriate action is taken .................. 20
Javadoc and coding style ............................................................ 10
We need to be able to cross rivers using three different methods.
All the model classes need to at least be able to hold their data properly.
We need places put on the map that the wagon party visits on the trip.
Player can enter the store
Items for sale are displayed with their prices
keep shifting the image at the same pace as wagon moving to show motion.
We need a launcher class that pops open a frame, and allows a new game to be created.
Make the GUI to allow for traveling and changing rations/pace.
fix the invalid literals in the events class if statements
We still need a way to change the pace and ration.
All existing methods need to be javadoc'd.
Support random events.
Whenever you get the chance, play around with the game and attempt to break it. Find bugs sooner rather than later so that they are easier to fix. Just do it occasionally when you have the time.
Display a configuration screen which allows the user to:
Enter their name
Enter their other party members names (up to four)
Select their profession
Set the initial pace
Set the initial rations
Support saving the game.
The wagon should not be allowed to start traveling again if the update screen is open.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.