Coder Social home page Coder Social logo

classicrpg's Introduction

Classic RPG

You, the knight, are exploring the ruins of a vast world. This project utilizes state pattern to generate different locations, and add functionality to each location. Each location exists as a state, and traversing between the states requires input from one of the methods defined in the State class.


Currently, there are 4 locations:

  • Castle
  • Cave
  • Dungeon
  • HQ

The knight can "explore" each location. Exploring a location can yield either fortune or misfortune of considerable proportion. It is up to the player when to explore and when to travel to another location.


Please submit as many pull requests as you would like!

  • New pull requests will be welcome additions to this project. I have sent one pull request that implements an additional location and creates random actions at the start of a user arriving at a destination.

Functionality that you can add:

  • |!| More locations! 4 locations aren't very many- make this kingdom feel like its own world by creating paths (and blockages) between different areas the knight can explore

  • |!| Additional commands! AT the moment, the knight can only explore the current area. In a real old-style RPG, the knight would be able to do all sorts of things! For instance, maybe implement a random encounter enemy system, and code in battles between ferocious monsters! Or you can implement a feature that allows the knight to eat food or stock up on supplies!

  • |!!| Weapons/Armor! All RPG's should have some sort of weapon/armor system. Implement something where you can equip items and armor to change the tide of battles! (also implement battles)

  • |!!| Multiple Players! Currently, you can define multiple knights and have them explore each area. But what if a knight could interact with one another? Implement fighting, trade (currency, weapons, armor), and dialogue interactions.

  • |!!!| Web Front-End! No RPG is complete without a Web Front-End. Stylize the front-end to make for a flashier look, add functionality to make it a text input game (maybe change the inputs to be more user friendly) and connect that to a server and a game with Websockets!

  • |!!| Multiple Player Functionality! Imagine playing an RPG on a web-front-end, being able to enter in a username, and then also being able to randomly interact with users who are at the same location as you! Not to mention that playing the game in two locations at once would also be nice...

  • |!!| Store Database Information! In case the server closes, store the information in a database/file that's readily accessible to keep any progress for a specific user

  • Any other functionality you can think of- be creative!


|!| marks "intensity" - some additions are more time-consuming than others


If you made it this far, congratulations! You are ready to start programming. Any additions whatsoever are appreciated.

classicrpg's People

Contributors

emilkovacev avatar

Watchers

 avatar

Forkers

cusanity jarliss

classicrpg's Issues

Add Functionality!

The Classic RPG needs to be expanded! Add functionality to the game to make it a tad bit more exciting. I added some ideas below. Read the README for more information

Functionality that you can add:

|!| More locations! 4 locations aren't very many- make this kingdom feel like its own world by creating paths (and blockages) between different areas the knight can explore

|!| Additional commands! AT the moment, the knight can only explore the current area. In a real old-style RPG, the knight would be able to do all sorts of things! For instance, maybe implement a random encounter enemy system, and code in battles between ferocious monsters! Or you can implement a feature that allows the knight to eat food or stock up on supplies!

|!!| Weapons/Armor! All RPG's should have some sort of weapon/armor system. Implement something where you can equip items and armor to change the tide of battles! (also implement battles)

|!!| Multiple Players! Currently, you can define multiple knights and have them explore each area. But what if a knight could interact with one another? Implement fighting, trade (currency, weapons, armor), and dialogue interactions.

|!!!| Web Front-End! No RPG is complete without a Web Front-End. Stylize the front-end to make for a flashier look, add functionality to make it a text input game (maybe change the inputs to be more user-friendly) and connect that to a server and a game with Websockets!

|!!| Multiple Player Functionality! Imagine playing an RPG on a web-front-end, being able to enter in a username, and then also being able to randomly interact with users who are at the same location as you! Not to mention that playing the game in two locations at once would also be nice...

|!!| Store Database Information! In case the server closes, store the information in a database/file that's readily accessible to keep any progress for a specific user

Any other functionality you can think of- be creative!

|!| marks "intensity" - some additions are more time-consuming than others

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.