saiharshithreddy / DragonBallZ-Game

An arcade game built using Greenfoot (Java based-IDE) implementing design patterns in Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMPE202 Team Binary

This repository is for the team project for CMPE202 under Prof. Paul Nguyen.

DragonBallZ

The project is a dragonballz game developed using Greenfoot IDE.

Basic Game Play

Make Goku collect all 7 dragonballs to make shenron grant him a wish. Do this while evading 3 of Goku's enemies.

Running the game

Starting the server

The following are the procedures to start the server locally.

Requirements :

  1. python3
  2. Flask
  3. flask-restful

Use python3 server/server.py 5000 to start the server.

The actual game server has been hosted on AWS EC2 and the game by default connects to this instance.The dns and public ip are provided in the image below.

aws_sever

Starting the game

  1. Clone the repo and use Greenfoot IDE to run the game and make modifications.

UML Documentation

User Options

  1. The player gets to choose his username and then start the game or use the help option to understand controld.
  2. User can use the up/down arrow keys to move the main character(Goku) in a manner that will let him collect dragonballs while avoiding the powerups his enemies throw at him.
  3. The player is rated on how fast he can complete and game and get shenron's wish.

Use Case Diagram

-Saumya Goyal use_case

Class Diagrams for Design Patterns used

Command Pattern

-Sai Harshith Reddy Gaddam command_pattern

Chain Of Responsibility

-Shabari Girish Ganapathy chain_of_responsibility

Iterator Pattern

-Chungchen Ran iterator

Observer Pattern

-Saumya Goyal observer_pattern

Sequence Diagram

Movement between Levels (worlds)

-Shabari Girish Ganapathy level_movement_activity

Keeping track of lives lost

--Chungchen Ran lives_lost

Activity Diagram

To give overview of gameplay flow. -Shabari Girish Ganapathy activity

About

An arcade game built using Greenfoot (Java based-IDE) implementing design patterns in Java


Languages

Language:Java 73.9%Language:HTML 13.6%Language:CSS 11.1%Language:JavaScript 0.7%Language:Python 0.7%