Skip to content

barrycarter/YAMC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌍 TERRA MAP ADVENTURE

Currently a work in progress.

First text-adventure game played on a real world map.

text-adventure game played on a real world map

🔧 🔨 Build with the following:

Front End Development Back End Development Database Misc
HTML5, CSS3, JavaScript Pearl 5 / Node.js SQLite3 Websocket

👫 👫 Are you interested to contribute directly in our distributed team?

🎉 We’re excited to have you as part of our small team!

🏃 Join us in CodeBuddies server in Discord at Terra Map Adventure channel #project-tma

🍴 If you just want to use the codebase for learning purpose, feel free to create your own fork of the code and do the changes in your fork.

💪 MOTIVATION

Developing a fun, entertaining and educating game. Terra Map Adventure’s purpose to raise the philanthropy mindset and spirit by prioritizing collaboration and barter mechanism for mutual prosperity. It is intended as a fun project in a study group to learn programming and collaborating remotely as a team.

💻 HOW TO PLAY?

  1. The players travel on the world map to find different kinds of resources.
  2. The players themselves don't need food or energy, but they can use it to obtain resources.
  3. They can use resources to build roads or housing, ultimately to benefit the people who live on the world.
  4. The people that the player finds are homeless and not working. By assigning them work, the players gives them a job, a home, and a sense of purpose in improving their world.
  5. For each tile the player gets, the player can have the assistance of one people. If the player wants more people to help, then the player needs to go to an urban area to get some people.

🌄 WHERE TO PLAY?

📷 SCREENSHOT

text-adventure game played on a real world map

🔎 FEATURE

The first text-based game in the software development using real world map from Google Maps database.

💾 CODE EXAMPLE

while (1) {
  print "Command > ";
  my $cmd = <>;
  debug("CMD: $cmd");

  # parse the command, so that "a b c" becomes "command_a(b,c)"
  my(@cmd) = split(/\s+/, $cmd);
  my($cmd) = shift(@cmd);

  # allow command aliasing
  if ($aliases{$cmd}) {$cmd = $command_aliases{$cmd};}

  my($args) = join(", ",@cmd);
  my($eval) = "command_$cmd($args)";

👥 TEAM

📑 RESOURCES

🔖 TECHNICAL REMARKS

  • World map 43200x21600 image representing earth land types, cylindrical projection.
  • Pixel to latitude/longitude translation:
    • x pixels go from 0 to 43199 (for 43200 pixels total)
    • y pixels go from 0 to 21599 (for 21600 pixels total)
    • each pixel is 1/120 degree wide and 1/120 degree high
    • x pixel to lon: (2x-43199)/240 [center of pixel]
    • lon to x pixel: (43199+240x)/2
    • y pixel to lat: (21599-2x)/240
    • lat to y pixel: (21599-240x)/2

☺️ SUPPORT

Reach out to Barry Carter at one of the following places!

💝 ACKNOWLEDGMENTS

  • We are grateful to our team members who previously contributed to Terra Map Adventure project: Noragne & Pedro Almeida

  • Inspiration

  1. https://www.facebook.com/FarmVille/
  2. https://en.wikipedia.org/wiki/M.U.L.E.
  3. https://civilization.com/
  4. https://glitch.com/~dive-the-game

💽 LICENSE

MIT

📌 NOTES

  • This README serve as a living document and being updated.
  • The project is started on January 25th, 2019.
  • Brainstorming and resume of team initial discussions can be found here.

About

yet another M.U.L.E. clone?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •