Skip to content
develop
Go to file
Code
This branch is 332 commits ahead, 1 commit behind master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Adept

This is an infinitely extensible RPG created for CS 196 @ UIUC.

Requirements and Dependences

This project depends on lots of Python packages. If you install these packages, you should be able to run Adept

I highly recommend installing all of them via pip, except Pygame. Adept is only guaranteed to run bug-free if Pygame is installed from source.

Adept is only guaranteed to run on Python 2.7.

Installation and Use

  • Clone the repository

git clone https://github.com/Adept196/adept

  • Navigate into the repository and checkout the develop branch

cd adept; git checkout develop

On this branch, you'll find every feature discussed in the video except multithreaded chunk loading. We reworked the chunk system to make it a lot faster and better, but the semester ended before we resolved merge conflicts and merged it into this branch.

  • Run the example game

python main.py

If you want to take a look at our chunk rework and the current state of the editor, you can checkout a different branch.

  • Checkout the editor-draw-and-select-tool branch

git checkout editor-draw-and-select-tool

Both the editor and the example game exhibit the effects of a reworked chunk system. You should notice that there is no noticable I/O freeze every time chunks are loaded and saved. This used to happen when moving to the edge of the screen, when new chunks must be loaded for the first time.

Takeaways

We learned many things from this project. Some of the biggest were

  • Coding best practices
    • Unit tests (we used nose)
    • Continuous integration (we used Travis-CI)
    • GitHub branching/merging best practices
    • How to actually do code reviews
    • It's not a good idea to put EVERY FILE IN THE SAME FOLDER
    • It's never a good idea to git add -A
  • Making things go fast
    • Multithreading
    • High-level memory management (which data structure? etc)
  • Making things cross-platform
    • Python
  • Using team/organization technologies
    • Slack
    • Trello
    • GitHub
    • Travis-CI

Authors

License

Do whatever you want

About

Under construction.

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.