The only place in the galaxy for your spaceship parts
Desktop only
Le Wagon asked us to build a market place in one week. But we wanted to go further! In one week, we build a full playable game. In SpaceWagons, you can become the greatest spaceship pilot in the Universe! Build your first ship, go on expeditions to find better parts and trade your parts on the Galactic Mall with other users to build the perfect ship. Every night, a thrilling galactic race takes place to see who is the best in town.
Go to website!
Have a taste of Spacewagon's gameplay. The entire game was coded in 5 days!
As you enter this incredible adventure, you must build your first ship. First of all, give it a name - choose wisely, because you will become known for your ship name! Then, pick your basic parts. Each ship has 5 main parts: a propulsor, a shell, a shield, a bumper and wings. Each part has 5 different stats: acceleration, speed, maneuvrability, attack and defense. These stats will dictate how well your ship will race! Spend your money wisely on the basic parts, because if you pick a better quality part of one type, there will be less money for other parts!
On the expeditions tab, you can go for adventures to explore other planets. On these planets, you will find gold, and up to three new parts. The parts are randomly generated, so each player will find exclusive parts and build a ship completely different from all other players. Parts can be Common, Rare and Unique. Unique parts are much more difficult to find, but more powerful! Save them for the races and surprise your folks!
Each player has a pilot's license, showing their name, current rank, score and last race results. Do not rest until you're the top pilot in town. You can also see your ship stats, which are the sum of the stats of your equipped parts. Each stat affects your racing in unique ways: acceleration is best for maps with a lot of curves, speed is best for maps with straight lines; maneuvrability prevents you from crashing; attack increases the likelihood that you will destroy an enemy ship, and defense decreases the likelihood you will be a victim!
For this, you have to choose your parts wisely. Your parts have a durability and will be damaged on each expedition and each race. Therefore, you need to manage them well and always be well equiped for the race. Gather extra parts on expeditions, and either equip or sell them to get more stats and resources.
In order to build a more balanced ship, you can put parts you find on expeditions for sale in the Galactic Mall to get some extra gold. There, you can also find parts from other users, and buy it from them. You can also salvage your parts for a lower value in case you need to make some quick bucks.
Each night, all players will participate on a galactic race. This is where you find glory.
A race has 17 laps. On each lap, there are three phases. In the combat phase, ships can destroy other ships. The likelyhood that you will be the attacker is proportional to your attack, and the likelyhood of you being a victim decreases proportionally to your defense. If you kill someone, you get extra points. if you get destroyed, you will receive 0 points for this lap.
On each lap, player's ships may crash. The chances of you crashing are proportional to your ship's lack of maneuvrability. Then, the remaining players will race on that lap. Based on their accelerations (good for tracks with more curves) and speed (best for tracks with more straight lines), player's will receive a score for that lap, and points based on the order they cross the finish line. After all 17 laps, the points are summed, and additional points are awarded to the players with the highest stats, and the winner is declared!
There is a new season every week, and each week will have a new winner. Buckle up and prepare for the adventure. If you win a season, absolutely nothing will happen. Have fun!
Task: The race has many laps, each lap has many phases and each phase is affected by different ship stats and luck. The result is a very complex but good looking code!
Task: Create the logic used when the player creates a ship and has to pick his basic parts - the menu that is shown in the "Build your ship" section animation. There is a simple but elegant logic that ensures that user can have a better navigation between parts, and that he has to pick one part of each type and use all the coins he has, while having a good visual feedback of the parts he selected and how he is spending his coins
Task: I wanted to make the expedition results more dramatic. The result is what is shown at the "Go on expeditions" section. You can see animations of loading bars, flying ships, gold counters increasing and items found appearing with a dramatic tone. What will you find in this new expedition?
Task: This is an embedded Ruby HTML example, which renders the page of the race results presentations, seen in the pictures of the section "Time to race!". The styling is included on the Gist to help visualization.