v4nz666 / 7drl2017 Goto Github PK
View Code? Open in Web Editor NEWMy entry in the 2017 Seven Day Roguelike Challenge
License: GNU General Public License v3.0
My entry in the 2017 Seven Day Roguelike Challenge
License: GNU General Public License v3.0
Properties:
Ship Types:
Type | Speed | Turn | Guns | Min Crew | Max Crew | Size | Price |
---|---|---|---|---|---|---|---|
Ship o'th' Line | 50 | 60 | 50 | 30 | 200 | 750 | 20000 |
Galleon | 50 | 50 | 40 | 30 | 200 | 650 | 15000 |
Brig | 90 | 70 | 32 | 25 | 150 | 550 | 10000 |
Brigantine | 120 | 80 | 16 | 25 | 125 | 500 | 8000 |
Frigate | 90 | 85 | 24 | 20 | 50 | 300 | 5000 |
Clipper | 160 | 90 | 16 | 20 | 45 | 250 | 3000 |
Schooner | 150 | 100 | 12 | 15 | 30 | 150 | 1000 |
Sloop | 100 | 100 | 10 | 5 | 20 | 150 | 500 |
Caravel | 80 | 100 | 8 | 5 | 15 | 100 | 450 |
Dock(exit city)
General Store (buy provisions)
Tavern (Hire crew, Buy drinks)
Consolate (Get contracts)
Shipyard (Repair ship, Buy Ammo/new ships)
Brothel (Increase morale)
Create a simple REST server to store/retrieve high scores from.
Score will just be a name: score pair.
Score will be a captain's "value" at their death. Gold + value of ship + all goods + some value per crew member
Do damage to crew, hull, and sails
Approach a ship to board / battle the captain (take the ship if you win)
Get far enough away to exit battle
Skills, and rep must increase.
Nav - captain's days at sea
Gun - successful battles
Charisma - maybe scrap, for rep...
Generate interesting landmasses surrounded by water.
Distribute Cities(#), Towns(%), and Villages(^) along coastlines.
News should spread to neighbour cities. Captains must also carry news around.
Properties:
Only show entities withing the player's line of sight (based on their navigation skill).
Apply fog of war over game map.
There's a buggy section of the map (present in the log book view, unconfirmed in game view), bottom-right corner. A variable number of cells appear to be False.
Escape should bring up the pause menu
Q - Quit
ESC - Back to game
When bearing < 90 or > 270, the ship should face right.
Some cities get stuck on diagonal waterways, and are inescapable/unreachable.
when path finding for city placement, leave out diagonals
Create Factions:
Properties
Make the player choose a starting port.
Drop some story.
Remove all debug output
Probably should've had a ticket for this all along. :/
Little things.
Model the passage of time.
Display current date/time.
Show cursor (mapX, mapY) in map view. Display info about cities under cursor
Heading and sail values are reset when leaving a port, but the ui is not refreshed.
something up with the fog of war on the map view...
Get some swashbucklin music rockin:
Add a credits screen at end of game, loop back to splash state
Player / Pirates / Passing ships
Periodically, generate news at each city
Captains leaving a given city, leave with the news of that city, meet them at sea to learn it, or gather it in taverns.
When morale is low, crew should leave, when you get to a city.
At least for battle mode, but ideally all throughout
Sailing:
Main City:
Tavern:
General store:
Shipyard:
Battle
Running into the land should damage the ship based on speed
Player must buy a ship to start off.
If player has a ship, sell it for what it's worth.
Splash -> Menu -> generate -> play -> death/retire -> High Score -> Menu
so, need:
Pirates, when they see the player, should start pathing to the player
Have a separate, highlighted area showing your score, so you don't have to go find it in the list
Address all TODOs
Randomly generate News at cities.
Learn of news from captains leaving cities, or in taverns
Display a low opacity overlay around cities, showing their fovRadius
Lots happens in the cities, I should really add a message scroller to tell when buying/selling/hiring/repairing fails/succeeds.
Could use one in the main window, too (and likely the battle view... Might as well just extend the screen size down a ways, and use the bottom real estate.
Layout the general look of the game window.
World is visible within line of sight in main window.
Map view shows all visited areas statically.
Periodically generate other ships for each faction.
Regular ships start at a given city and navigate to a target city (or die along the way).
Pirates meander around a given city
Populate/update all the ship / captatin stats on the main game window
When a ship has a heading of 270, the firing cone off the port side gets truncated at 0.
Wind Speed / Direction
Ship heading control
Ship sail level control
Enter cities when reaching a port tile
Escape should bring up the pause menu
Q - Quit
ESC - Back to game
Other ships must have goals
Crew must eat
Crew must drink rum
Morale decreases slowly based on time at sea
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.