All Projects → besnik → text-adventure-game-js-engine

besnik / text-adventure-game-js-engine

Licence: other
Text Adventure Game Javascript Engine to create games like old-school console text games in Atari/MS-Dos times. Based on new technologies like HTML5, Javascript, React.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects
PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to text-adventure-game-js-engine

Dude-SideScroll
🎮 A side-scrolling adventure game.
Stars: ✭ 19 (+0%)
Mutual labels:  adventure
gamebookengine
Gamebook Engine is an open source iOS app for creating and playing gamebooks, a type of interactive fiction where the player gets to make decisions that influence the story.
Stars: ✭ 42 (+121.05%)
Mutual labels:  adventure
kingslayer
A text-based adventure written in Rust
Stars: ✭ 28 (+47.37%)
Mutual labels:  adventure
lifely
Lifely is a text-based life simulator with no graphics. Some features might be unstable as of now.
Stars: ✭ 21 (+10.53%)
Mutual labels:  adventure-game
zorkzero
Zork Zero: The Revenge of Megaboz, by Steve Meretzky of Infocom (1988)
Stars: ✭ 114 (+500%)
Mutual labels:  adventure
HeadOverHeels
The free and open source remake of game Head over Heels
Stars: ✭ 15 (-21.05%)
Mutual labels:  adventure-game
zork
Full C++-17 port of the 616-point version of Zork from MIT circa 1978-1981
Stars: ✭ 16 (-15.79%)
Mutual labels:  adventure-game
adventureroad
An RPG where you are the hero!
Stars: ✭ 16 (-15.79%)
Mutual labels:  adventure-game
DeadAscend
A 2D point'n'click-like adventure game written in Qt/QML and Javascript
Stars: ✭ 37 (+94.74%)
Mutual labels:  adventure-game
lighthouse-of-doom
A simple text-based adventure game
Stars: ✭ 52 (+173.68%)
Mutual labels:  adventure-game
c games
[Some C games] Some simple games written in C language.
Stars: ✭ 31 (+63.16%)
Mutual labels:  text-game
sample-room-java
Walkthrough for creating a room in java for Game On!
Stars: ✭ 18 (-5.26%)
Mutual labels:  adventure
zeldaPlay
A Single Page Application to help zeldaPlay players to track their characters and progress
Stars: ✭ 95 (+400%)
Mutual labels:  adventure
infidel
Infidel by Mike Berlyn (Infocom)
Stars: ✭ 83 (+336.84%)
Mutual labels:  adventure
gottsch-minecraft-Treasure
Source code for gottsch's Treasure2! minecraft mod. Versions: 1.12.2 and 1.16.5
Stars: ✭ 15 (-21.05%)
Mutual labels:  adventure
Advent
A modern ANSI C port of Crowther & Woods' "Adventure".
Stars: ✭ 68 (+257.89%)
Mutual labels:  adventure

Text Adventure Game Javascript Engine

Goal of the project is to create game engine and editor with rich and fluent API to create text-like games using javascript and other modern technologies for new age.

Game Engine and Game Editor are written in plain old javascript. Both game and editor engines should run in any modern browser (or Node.js if needed).

If you are interested in latest progress check out /poc/engine/engine2/ directory for latest prototype.

Game and Editor APIs

Editor engine supports fluent API to setup a game:

// fallout 1 text version :-)

var l1 = editor.factory.location
    .new()
    .id("l1")
    .set_text("default", "You are standing infront of Vault13.")
    .set_text("modified", "Door to Vault13 are now closed.")
    .add_link("l2", "to Mutant Military Base")
    .build();

var l2 = editor.factory.location
    .new()
    .id("l2")
    .set_text("default", "After long journey you reached Mutant Military Base")
    .add_link("l1", "to Vault13")
    .build();

game = editor.new_game()
    .add_location(l1)
    .add_location(l2)
    .set_player_location(l1.id)
    .when_location_changed_to("l2").set_state_of_location("l1", "modified")
    .start_game();

The engine also supports methods like .to_json() and .from_json(data) to easily export and import game configuration.

Game Engine also offers rich set of fluent APIs to play game.

game.see();
game.go("l2");
game.see();
game.go("l1").see();
game.take('gun').talk('vic').use('door')

Thanks to APIs in both Game and Editor engines you can create any customized frontend experience using any modern framework of your choice. Web, Desktop or Mobile based.

The project will aim to provide native implementation for web and mobile UI using modern technologies like Angular, React, React Native.

Also one of the long term goals is to provide API to easily integrate with major cloud provides like AWS or Google Cloud to store game data (both game configurations and sessions) for even more interesting game experience.

Feedback

I'd love to get feedback on this project, design of engine, roadmap or any new ideas! Feel free to open ticket or reach out to me directly.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].