Skip to content

qionghuang6/MKS21X-FinalProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MKS21X-FinalProject

Pokemon Mystery Dungeon: Based off of...

MAKE SURE TO FULL SCREEN YOUR TERMINAL BEFORE PLAYING!!! (Dimensions are specific)

Instructions:

To compile the program, type:

javac -cp lanterna.jar:. PokemonMysteryD.java

To run the program, type:

java -cp lanterna.jar:. PokemonMysteryD

OR:

java -Djava.awt.headless=true -cp lanterna.jar:. PokemonMysteryD

Development Logs:

January 3rd, 2019:

Bryan Lai:

  • Created Pokemon Class
  • Added Instance Variables
  • Added Accessor Methods
  • Added the ability to add moves to its moveset.
  • Added basic toString()
  • Created Move Class
  • Added Instance Variables
  • Added Accessor Methods
  • Added basic toString()
  • Added implementation of decrease and increase of PP.
  • Create Sample Test Driver to test methods for Move and Pokemon.

Qiong Zhou Huang:

  • Created Tile Class
  • Added Instance Variables
  • Added Constructors
  • Added Accessors
  • Added makeWalkable method to setColor and change variable at same time
  • Created Map Class
  • Created Instance Variables for start coordinates and a 2D array of the Tiles
  • Created buildArea method to create an area around a point is walkable with randomly generated sizes
  • Started work on terrain generation using buildArea
  • Wrote main for PokemonMysteryD class to view Map class using Lanterna

January 4th, 2019:

Qiong Zhou Huang:

  • Tweaked Map Class
  • Changed the way swaths of walkable land were generated by changing how the path was generated
  • Adjusted values to ensure that all the walkable land were always connected
  • Fixed new bugs that prevented map from displaying properly

Bryan Lai:

  • Add location x,y instance variables for the Pokemon class.
  • Also edited constructor and add the "symbol" instance variable.
  • Create Player Class that utilizes the Pokemon class.
  • Create accessor methods, mutator methods, etc.
  • Update Driver with code utilizing the Player class.

January 5th - 6th, 2019: Occupied with StuyPulse Robotics. (Start of Build Season)

To sleep or to work on APCS project? A wise pokemon trainer told me to sleep.

January 7th, 2019:

Bryan Lai:

  • Merge the changes in bl/pokemon to master.
  • Change int color to an array of ints to be used for specific methods dealing with background/fore-color in the lanterna documentation.
  • Git rebase to remove changes in a previous commit that caused issues before merging.

Qiong Zhou Huang:

  • Changed map starting size and randomized starting location near center on map
  • Changed from using Terminal.color to using rgb values for the map
  • Created setBg method to use replace how the background is currently set and to be used to reset background color after Pokemon has moved on it.
  • Dealt with lots of problems after merging before pushing commits and messing up with moving the HEAD.

January 8th, 2019:

Qiong Zhou Huang:

  • Changed setBg
  • Created method to spawn pokemon at given location
  • Created methods to randomly spawn player pokemon

Bryan Lai:

  • Started on options screen.
  • Created new branch: "options"
  • Understand Lanterna implementation
  • putString(), refresh(), etc.

January 9th, 2019:

Bryan Lai:

  • Completed transition between options and gameplay.
  • Background and color schemes were edited.
  • Added new imports for "TerminalSize", etc.

Qiong Zhou Huang:

  • Made sure islands don't spawn on map
  • Spawns moving pokemon
  • Figured out how to revert to orignal colors on the path behind pokemon
  • Made walls not walkable
  • Made pokemon not move when it reaches a wall, but there's an unknown bug with that that freezes the pokemon

January 10th, 2019:

Qiong Zhou Huang:

  • Did lots and lots of debugging and fixed the code such that the player Pokemon stops when it hits a wall
  • Changed map size

Bryan Lai:

  • Worked on creating more instructions and options.
  • Made things cleare and more visible to cause less problems with merging

January 12th, 2019:

Qiong Zhou Huang:

  • Spawned Partner Pokemon
  • Move partner Pokemon along with player pokemon
  • Made Pokemon randomizer class to choose random pokemons to start with
  • Created stairs on map. Starts new level once you reach those stairs
  • Used POkemon randomizer class to spawn random pokemons on map
  • added code to make sure that Pokemons don't walk on top of each other

Bryan Lai:

  • Create basic Start Screen template
  • Merged Qiong's work and mine
  • Fixed most errors between transitions of start screen and options and dungeon gameplay.

January 13th, 2019:

Bryan Lai:

  • Edit pokemon randomizer to only spawn 6 pokemon per floor rather than 15.
  • Fix bugs and issues when switching from gameplay and the option screen by using the Backspace.
  • Create messages that appear in the combat box by pressing either WASD to "face" and 1,2,3,4 for specific moves.
  • Edit instructions slightly by providing some visuals and objectives as well as new key controls.
  • Clear useless files that existed previously in the project.
  • Create Pokemon Information screen that appears below the combat messages.

January 14th, 2019:

Qiong Zhou Huang:

  • Added code to have pokemons move towards player after every step
  • Made sure that pokemons only moved towards player half the time to prevent swarming

January 16th, 2019:

Qiong Zhou Huang:

  • Fixed swarming even more
  • Implemented heal potion tile
  • Randomly choose between map tile theme

Bryan Lai:

  • Fixed glitch where you can move your player/pokemon in the options screen.
  • Implemented combat for the enemies present on the map.
  • Puts up a blank screen once game over occurs. (Planning to add messages/graphics for "Game Over" and "Restart" tomorrow.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages