Skip to content

Diner Hash | An Educational Computer Science game to teach Hash Tables

Notifications You must be signed in to change notification settings

dvasavda/Diner-Hash---Educational-Python-Game

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diner Hash: An Educational Computer Science Game

Table of Contents

Diner Hash is an educational game to teach prospective students about the Hash table data structure in a gamified form.

Project Roadmap

To maintain consistency with the Agile Framework, we will have a total of 3 iterations for the product development.

The amount of time necessary for each iteration will be measured in Fibonacci Hours.

Code blocks written under the 'Guideline' header contain tasks which are listed in chronological order for completion.

Goals for Iteration I

User interactions (movement, object collision, object retrieval/placement)

Iteration I Guidelines


> Build basic enivornment
    > @Mark: Build an environment, rather than a grid/board. That way, character
    movement is not constrained to an n*n grid
    > Ideally, the environment would have its own module, environment.py  

> Create a basic character placed on the basic grid/board
    > Ideally, create a separate module for this, character.py
    > character.py will manage character generation onto the board

> Allow for interaction with character (keybindings mapped to character
    movement)
    > Map keybindings to character actions, such as move and update
    > Interaction can be handled within character.py with respective functions
    such as update_location()

> Generate objects on the environment
    > For extensibility, this can be handled in a module, generate_objects.py
    > environment.py can inherit code from generate_objects.py and spawn them
    into the environment

> Detect character collision with objects
    > We can decide this later depending on how our project file structure ends
    up
    > Most likely there will need to be some character update function where the
    character's coordinates intersects with the edges of the object's
    coordinates and then prints out detection of collision

> Allow for character to pick up objects:
    > Map keybinds to character for pick up action
    > Print pick up action message neatly to console output
    > For now, I'm guessing this will only be console write-outs

> Print collision messages neatly to console output
    > More like a cleanup step to make sure all of the above test cases are
    printed out neatly onto the console

Fibonacci Hours: 8

Goals for Iteration II

Foundational game logic (end conditions, “hash station” functionality)

Iteration II Guidelines


>

Fibonacci Hours: 21

Goals for Iteration III (Final Development Week)

Game framework (main menu/end game screens, scoreboard, timer).

Iteration III Guidelines


>

Fibonacci Hours: 8

Overflow I Goals

Due to the constraint of time, these tasks are moved to overflow goals. Development time is limited to 3 weeks.

Game feedback (implement ‘Excellent’, and ‘Good’ feedback labels, implement pop- ups explaining user interaction with hashmap abilities)

Overflow I Guidlines


>

Fibonacci Hours: 8

Overflow II Goals

Due to the constraint of time, these tasks are moved to overflow goals. Development time is limited to 3 weeks.

Sprite implementations and graphical animations

Overflow II Guidelines


>

Fibonacci Hours: 21

Contributors

Jillian David - Scrum Master

Beau Forest - Team Member

Mark Fraser - Product Owner

Naomi Nunis - Team Member

Dharak Vasavda - Team Member

Coding Conventions

See this entertaining link on writing descriptive commit messages

All Python files should follow the PyCodeStyle standard

Lines should be wrapped at 80 characters for all other file types

Dependencies

To run this application, one must be running a Windows system with

python3 (Anaconda Python 3.6.1 preferred)
pygame (Version 1.9.4 preferred)

To install PyGame through the Anaconda prompt, run

pip install pygame

If your system has pip installed but not Anaconda, first try the command

pip install pygame

If this fails, see the following StackOverflow article for installing PyGame onto a Windows system. https://stackoverflow.com/questions/31968738/how-do-i-install-pygame-with-pip-in-python-3-4

Helpful Resources

About

Diner Hash | An Educational Computer Science game to teach Hash Tables

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%