Tasks remaining: done - Break pyramid up into 131 blocks done - Add vVv when stone is delivered done - Speed button done - 14x25 font and remove bad fonts done - Try buttons with OnDown done - Put idle workers to work, or sit down at random location done - Fix stone queue done - Music and phase transitions done - Victory fanfare done - Victory music loop after fanfare done - Logo / Splash done - Show credits after victory fanfare - Button to restart - A* path finding - Animate water - Settings - Music toggle - SFX toggle - Restart - Credits - Boat Bell: Place on the coast. Rings when a Boat goes by. Idle workers go sit by the pier. _ |`\ ||\\ || \\ || \) || | || /_\ || ° ´''` __ )´` / / ./\ .´\/__\ .´\´ / | \ .´\´ .\/___|__\ .´\ .´\´ / | | \ .;\.´ \ .\/___|___|__\ \´ \ ,´\´ / | | | \ \,´ \ .\/___|___|___|__\ \ ,´\´ / | | | | \ \ ,\/___|___|___|___|__\ \´ / | | | | | \ \/___|___|___|___|___|__\ __ __ __ / \ _ __ _ __ __ _ _ _ _ /_/__/ / / __// / // ´_// `// ` ` )/ // `/ /_/ \ //_/ \_.//_/_/_//_/ \_./ \-´.´ __¯¯ __ __ __ / \ _ __ /_// /__/ /__ _ __ / .´/ / // // // `// _\ / ´_/ /___/ \_.//_//_/ \_./ \__//_/ _, //} _ /`\-´ _/ )/ ( \ /--\ (_ (_ In this simulation game you build a mighty pyramid. \O/ 6 Day 7 vVv 1,432 ┌─────────────┐ │ ______ │ | ___ │ |\ \ │ \ _ / ,´¯ _¯\ │ | \_____\ │ /¯ ¯\ / /¯ ` │ \ | .-. | │ -- | | -- | | │ \|_| |_| │ \_ _/ \ \_ , │ │ / ¯ \ `._ ¯_/ │ BUY │ | ¯¯¯ │ │ ____ │ vVv 10 │ __ ./\ _,.--'´:. `-._╘═════════════╛ .:`-._ __.--._ .´\/__\ .-. _.--'´ .:' ┌─────────────┐ ':. `'-.,-'´ `'-., ______,.---------.´\´\/__|_\----.,_____,.-´ `_,.-'´ . '' │ ________ │ '' . ¯`'--.__,.----'´ .´\´\´\/_|__|_\ ¯¯¯¯¯¯`'---------.,______ │ \ v v v \ │ ___,.----'´¯¯ .´\´\´\´\/|__|__|_\ `'---.,___│ \ v v v \ │ --'´ .´\´\´\´\´\/__|__|__|_\ │ \ v v v \ │ \´\´\´\´\´\/_|__|__|__|_\ │ ¯¯¯¯¯¯¯¯ │ \´\´\´\´\/|__|__|__|__|_\ │ │ ______ \´\´\´\/__|__|__|__|__|_\ │ BUY │ |\ \ \´\´\/_|__|__|__|__|__|_\ ____________ │ │ | \_____\ \´\/|__|__|__|__|__|__|_\ \ V V V V V \ │ vVv 15 │ \ | .-. | \/__|__|__|__|__|__|__|_\ δ \ V V V V V \ ╘═════════════╛ \|_| |_| /|\ \ V V V V V \ ┌─────────────┐ ` / \ \ V V V V V \ │ │ δ ___ \___________\ │ ,´) │ ____/\\_____ `|\__\ ______ │ _ )´ _ │ \ v/| v`, v \ \|(O\ |\ \ │( \-----|-/ )│ \ v v v δ v \ ` _\ | \_____\ │ `-----´ │ \ v v_//\ v \ `( \ | .-. | │ │ \ v ` /\ v \ \|_| |_| │ BUY │ \___________\ ` │ │ ` │ vVv 100 │ ` ╘═════════════╛ ,) ` _______ ______.------┌─────────────┐ _.´ | ________.. ` ..___.------´ ´ ~ │ │ ____________.--___ | /-----´ |\\----\\ ~ ~ ~ │ ^ │ ____ ____,-----.------´ _ _|\__\|_.´ __ ~ ~ |\\----\\ ~ ~ │ < MOVE > │ ´ ~ ( \`. _|\\|__|\ |.;/ ) ~ |¯|¯¯|¯| ~ ~ │ v │ ~ ~ _ - _- _-_-\ `.\|__|__|_.´/ ~ ~ │ │ ~ ~ - - - - `------------´ ~ ~ ~ ~ ╘═════════════╛ When the pyramid is complete time freezes and you win the game. Each house contains 3 workers. Each plantation accommodates 2 workers. Workers prefer to work on plantations. Idle workers with nothing to do sit down at a random unoccupied location. Workers cannot walk over houses, the pyramid or plantations, and must path find around those. Idle workers push stones, if they are available. The stone closest to the pyramid is chosen first. Stones cannot be pushed too close to each other. At least 2 spaces between. 2 workers can collaborate to push a stone faster, however preference is given to pushing another stone, if available. There are 14 spaces between the pier and the pyramid. It takes 7 seconds to push a stone from start to finish. 2 spaces per second. When the stone reaches the pyramid location, the pyramid gains 1 completion point. It takes about 131 stones to complete the pyramid (~44 boat trips). It will take about 30 minutes to complete the game. Plantations produce vVv. One plantation produces 10 vVv. A plantation with 0 workers does nothing. A plantation with 1 worker takes roughly 2 days to mature and produce vVv. A plantation with 2 workers takes roughly 1 day to mature and produce vVv. Distance matters. If a worker takes a long time to arrive at the plantation, the plantation won't mature. When a plantation matures, it changes to a state ready to be collected. The workers stay idle on the plantation until you collect. Clicking on a plantation that is ready to be collected gives you vVv and work resumes. If a plantation is not collected, it will automatically collect when the daytime ends. Boats arrive at the pier and stay there until all 3 stones are unloaded. Boats enter through the left side and exit through the right, moving in a single direction. The first boat enters from the left as soon as the game starts. Boats take 7 seconds from entering the screen to reach the pier. Boats take 5 seconds from leaving the pier to exit the screen. Boats take 10 seconds after exiting the screen to re-enter the screen loaded with 3 stones. Boats travel by day and night. If a boat is at the pier, other boats wait behind it. You start with 1 boat. You can have up to 10 boats. The sun and the moon slide in the sky, from left to right, and indicate the phase of the day. When the sun/moon exists through the right the day moves to the next phase. Each phase takes 15 seconds. During the day, the ascii is drawn black on white. During the night, the ascii is drawn white on black. When the night begins all workers go back to their houses. If a worker was pushing a stone, the stone stays where it was. More houses, plantations and boats can be purchased with vVv. Can only buy and move things during the night. If you are in the middle of a buying or moving action, and daytime arrives, the action is canceled. Can only place houses and plantations on unoccupied space. The path between the pier and the pyramid cannot be built on. Audio: - Day music - Night music - Day transition to Night SFX - Night transition to Day SFX - Pyramid gained point SFX - Pyramid complete fanfare - Victory loop - Purchased SFX (crops are spent as money) - Boat arrived at pier - Crops ready to be collected - Crops collected (currency gained) Draw order: 1. Stars (if night) 2. Sun/Moon 3. Top HUD 4. Horizon 5. Water 7. Shoreline 6. Pier path 8. Pier 9. The Pyramid, Plantations, Houses, Workers, Stones are drawn from right to left, back to front 10. Boat trails 11. Boats, from right to left 12. Purchase Buttons 13. Floating texts Pyramid points, per layer: 1 4 6 8 10 12 14 16 18 20 22 --- 131 Class names: Building Pyramid Plantation House Stone Boat Worker Clock (day count, phase, % phase elapsed) DayNightPostRender PurchaseObject Icons ______ |\ \ | \_____\ \ | .-. | \|_| |_| ________ \ v v v \ \ v v v \ \ v v v \ ¯¯¯¯¯¯¯¯ ,´) _ )´ _ ( \-----|-/ ) `-----´ Stone ___ |\__\ \|__| ___ |\__\ \|(O\ _\ `( ___ |\__\ \|(O\ _\ ` \ ___ |\__\ \|(O\ \ (V ___ |\__\ \|(O\ \ (´ ___ |\__\ \(O\O\ _\ \ `((V ___ |\__\ \(O\O\ _\ \ ` \´ ___ |\__\ \(O\O\ \_\ (V`( ___ |\__\ \(O\O\ \_\ (´` \ @@@ @@@ @@@ house ______ |\ \ | \_____\ \ | .-. | \|_| |_| @@@@@@@@@@ @@@@@@@@@@ @@@@@@@@@@ plantation ____________ \ . . . . . \ \ . . . . . \ \ . . . . . \ \ . . . . . \ \___________\ ____________ \ v v v v v \ \ v v v v v \ \ v v v v v \ \ v v v v v \ \___________\ ____________ \ V V V V V \ \ V V V V V \ \ V V V V V \ \ V V V V V \ \___________\ δ _______|/|\_ \ vVv `/ \ \ \ vVv δ\ \ vVv |/|\\ \ vVv `/ \ \ \___________\ @@@@@@@@@@@@@ @@@@@@@@@@@@@ @@@@@@@@@@@@@ @@@@@@@@@@@@@ @@@@@@@@@@@@@ Pyramid _ __ __ __ __ __ __ __ \ \ \ \¯ ¯¯ ¯¯ ¯¯ ¯¯ ¯¯ \ \ \ \ \ \ \ \ \ \ \ \ __ __ __ __ __ _\ \ \ __ __ __ __ __ __ __ _\ .---------------------. \´\ .-----------------. \ \´\ \¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\\ \ \´\ \ \\ \ \´\ \________________\\ \ \´\_____________________\ \/__|__|__|__|__|__|__|_\ ____________________ .´\ ________________ \ \´\´\ \______________|\ \ \´\´\ \ \\ \ \´\´\ \______________\\ \ \´\´\___________________\ \´\/|__|__|__|__|__|__|_\ \/__|__|__|__|__|__|__|_\ .-----------------. .´\´\ .-------------. \ \´\´\´\ \____________|\ \ \´\´\´\ \____________\\ \ \´\´\´\_________________\ \´\´\/_|__|__|__|__|__|_\ \´\/|__|__|__|__|__|__|_\ \/__|__|__|__|__|__|__|_\ ________________ .´\ ____________ \ .´\´\´\ \ |\ \ \´\´\´\´\ \_________|_\ \ \´\´\´\´\_______________\ \´\´\´\/__|__|__|__|__|_\ \´\´\/_|__|__|__|__|__|_\ \´\/|__|__|__|__|__|__|_\ \/__|__|__|__|__|__|__|_\ .-------------. .´\´\ .---------, \ .´\´\´\´\´\________|\ \ \´\´\´\´\´\_____________\ \´\´\´\´\/|__|__|__|__|_\ \´\´\´\/__|__|__|__|__|_\ \´\´\/_|__|__|__|__|__|_\ \´\/|__|__|__|__|__|__|_\ \/__|__|__|__|__|__|__|_\ ____________ .´\ ________ \ .´\´\´\ \______|\ \ .´\´\´\´\´\___________\ \´\´\´\´\´\/_|__|__|__|_\ \´\´\´\´\/|__|__|__|__|_\ \´\´\´\/__|__|__|__|__|_\ \´\´\/_|__|__|__|__|__|_\ \´\/|__|__|__|__|__|__|_\ \/__|__|__|__|__|__|__|_\ .---------. .´\´\ \¯_¯_|\ \ .´\´\´\´\_________\ .´\´\´\´\´\/__|__|__|_\ \´\´\´\´\´\/_|__|__|__|_\ \´\´\´\´\/|__|__|__|__|_\ \´\´\´\/__|__|__|__|__|_\ \´\´\/_|__|__|__|__|__|_\ \´\/|__|__|__|__|__|__|_\ \/__|__|__|__|__|__|__|_\ ________ .´\ ____ \ .´\´\´\_______\ .´\´\´\´\/|__|__|_\ .´\´\´\´\´\/__|__|__|_\ \´\´\´\´\´\/_|__|__|__|_\ \´\´\´\´\/|__|__|__|__|_\ \´\´\´\/__|__|__|__|__|_\ \´\´\/_|__|__|__|__|__|_\ \´\/|__|__|__|__|__|__|_\ \/__|__|__|__|__|__|__|_\ .-----. .´\´\_____\ .´\´\´\/_|__|_\ .´\´\´\´\/|__|__|_\ .´\´\´\´\´\/__|__|__|_\ \´\´\´\´\´\/_|__|__|__|_\ \´\´\´\´\/|__|__|__|__|_\ \´\´\´\/__|__|__|__|__|_\ \´\´\/_|__|__|__|__|__|_\ \´\/|__|__|__|__|__|__|_\ \/__|__|__|__|__|__|__|_\ ____ .´\___\ .´\´\/__|_\ .´\´\´\/_|__|_\ .´\´\´\´\/|__|__|_\ .´\´\´\´\´\/__|__|__|_\ \´\´\´\´\´\/_|__|__|__|_\ \´\´\´\´\/|__|__|__|__|_\ \´\´\´\/__|__|__|__|__|_\ \´\´\/_|__|__|__|__|__|_\ \´\/|__|__|__|__|__|__|_\ \/__|__|__|__|__|__|__|_\ ./\ .´\/__\ .´\´\/__|_\ .´\´\´\/_|__|_\ .´\´\´\´\/|__|__|_\ .´\´\´\´\´\/__|__|__|_\ \´\´\´\´\´\/_|__|__|__|_\ \´\´\´\´\/|__|__|__|__|_\ \´\´\´\/__|__|__|__|__|_\ \´\´\/_|__|__|__|__|__|_\ \´\/|__|__|__|__|__|__|_\ \/__|__|__|__|__|__|__|_\ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@ Boat ,) _.´ | | / _ |_.´ __ ( \`.___________|.;/ ) \ `._________.´/ `------------´ ,) _.´ | | / _ ___ |_.´ __ ( \`.__|\__\____|.;/ ) \ `.\|__|____.´/ `------------´ ,) _.´ | | / _ ______|_.´ __ ( \`.__|\__\__\_|.;/ ) \ `.\|__|__|_.´/ `------------´ ,) _.´ | ___ | / _ _|\__\|_.´ __ ( \`.__|\\|__|\_|,;/ ) \ `.\|__|__|_.´/ `------------´ boat trail _ - _- _-_- - - - - _ - _-_ -_-_ - - - - - -_ - -_- - - - - -_ - -_-_ - - - - - -_ - -_-_-_ - - - - _ - _- _-_- - - - - walk right δ /|\ / \ δ /|\ >\ δ /|\ |\ δ /|\ |> walk left δ /|\ / \ δ /|\ /< δ /|\ /| δ /|\ <| sitting δ /|\ \7 farming right δ /\\_ /| ´ δ /\\ /| `, δ /\\_ /| ´ δ /\\ /| `, δ /\\_ /| ´ δ (\\_ / \ ´ δ_/` |¯ / \ , | δ) | / \ , \ δ) | / \ , \ δ) | / \ __ `. δ \ (\\ | |\ `/ δ (\\ |\ `, farming left δ _//\ ` |\ δ //\ ,´ |\ δ _//\ ` |\ δ //\ ,´ |\ δ _//\ ` |\ δ _//) ` / \ ´\_δ ¯| / \ , | (δ | / \ , / (δ | / \ , / (δ | / \ __ .´ / δ | //) \´ /| δ //) ,´ /| horizon ____ __ _,.--'´:. `-._ .:`-._ __.--._ .-. _.--'´ .:' ':. `'-.,-'´ `'-., ______,.------------------------.,_____,.-´ `_,.-'´ . '' '' . ¯`'--.__,.----'´ ¯¯¯¯¯¯`'---------.,______ ___,.----'´¯¯ `'---.,___ --'´ pier path ` ` ` ` ` ` ` ` ` ` ` ` @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ @@@@ shoreline _______ ______.------ ___________________.------´ ´ ____________.----------------´ ____ ____,-----.------´ ´ ______ ______,-------,------´ ________________.-------------------´ _____ ______,------------´ ----,----´ ´ water waves ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ pier .. .. |\\----\\ |\\----\\ |¯|¯¯|¯| sun | \ _ / /¯ ¯\ -- | | -- \_ _/ / ¯ \ | moon ___ ,´¯ _¯\ / /¯ ` | | \ \_ , `._ ¯_/ ¯¯¯ Old (, | `._ \ | _ `._| __ ( \`.|___________.;/ ) \ `._________.´/ `------------´ (, | `._ \ | _ `._| ___ __ ( \`.|_____|\__\_.;/ ) \ `.____\|__|.´/ `------------´ (, | `._ \ | _ `._| ______ __ ( \`.|__|\__\__\_.;/ ) \ `._\|__|__|.´/ `------------´ (, | `._ \ | ___ _ `._| _|\__\ __ ( \`.|__|\\|__|\_.;/ ) \ `._\|__|__|.´/ `------------´