Giter Site home page Giter Site logo

garlguo / quest Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 2.58 MB

Turn-based RPG adventure game implemented in OCaml & Python NumPy (Python codes not uploaded)

License: GNU General Public License v2.0

Makefile 0.17% Shell 1.21% OCaml 98.62%
ocaml game-engine user-interface adventure rpg-game gui

quest's Introduction

Quest

@author:

Ruiqi Song @email: [email protected]

Wentao Guo @email: [email protected]

Michael Zhou @email: [email protected]


MakeFile:

make checkenv will check all dependencies and the running environment.

make play will launch the game.

make engineTest will test the backend engine.

make clean will clear all generated bytecodes and logs/digests.


Load single file to OCaml TopLevel:

First, open the directory in which the file exists.

Then, open OCaml TopLevel (like utop) and enter #use "some file.ml".

For example, to load src/engine/engine.ml to the TopLevel. You need to open src/engine and enter #use "engine.ml" in OCaml TopLevel.


This is an adventure game mainly implemented in OCaml (for backend models, game engine and GUI) and Python (for converting images to JSON files). The Python Codes are NOT uploaded into this repository. However, all generated JSON files (which each represents a picture) are contained in src/json_models

During the game, a player can move throughout the map by pressing 'w a s d' keys. The Player could also pick up or drop food and weapons in their current locations. The Player could gain skills by equipping weapons, eating food, and defeating enemies. Each skill has a cooling time and the player could use it when it is available. The wining condition is that the player defeats all enemies in all maps.

The storm-like icon in map represents a branched map. Once all enemies in one branched map have been defeated, the player will return to the main map and that branched map will be removed.

For more detailed info of this game instructions, please refer to the player manual.pdf

There are some game screenshots in the 'game screenshot' folder.

Enjoy your adventure in this game!

quest's People

Contributors

garlguo avatar

Stargazers

 avatar Lixing Liu avatar

Watchers

 avatar

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.