Commit Graph

56 Commits

Author SHA1 Message Date
8ed02cf2ac Don't draw the gem in the status section until the animation is finished
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-13 21:22:43 -03:00
00c54e5e15 Update gradle build file to ignore false positive warnings
Move shared functionality into the SearchAI class
Move shared functionality into the Object class
Add new state enum types
Implement enemy AI
Make player get the gem right away
Fix keyListener still listening after winning or game over
Reduce obstacles to 5%
Make sure all objectives can be reached by player
Make sure all enemies can reach player

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-13 21:10:16 -03:00
b0d8a06c83 Update gradle wrapper
Add gradle properties

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-11 17:17:13 -03:00
000a5e1fde Cleanup code
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-11 14:08:22 -03:00
81432f3243 Optimize imports
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-11 12:54:42 -03:00
aec9190265 Change line ending to be friendly with windows
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-11 12:42:48 -03:00
dbb524a7c7 Sort the destinations from the start
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-11 12:33:13 -03:00
804ab0acef Separate the algorithm from the game
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-11 12:32:55 -03:00
0d2d95f216 Change json cell class name
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-11 11:20:20 -03:00
f7adc8551e Remove spanish class names
Implement restart
Make sure all objectives are reachable
Optimize code

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-10 23:06:16 -03:00
9f6d6853ad Add LICENSE and README files to the distributions
Add WASD key usage to game

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-10 16:14:38 -03:00
a0c23e8cf3 Improve intelligence
Rename main class
Dynamic gson version
Improve build time
Remove panels
Improve random generation of objects so that all objectives are obtainable
Add door, gem, and portal sounds

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-10 15:33:03 -03:00
57d68a142e Optimize image files
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-09 18:15:26 -03:00
e6624b527d AI optimization
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-09 17:14:16 -03:00
b718d7b40a Fix incorrect message
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-07 21:56:53 -03:00
58a29acf10 Add Breadth-First Search AI
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-07 21:45:39 -03:00
f6a9518717 Add missing javadoc elements
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-06 17:23:47 -03:00
0b1014041d Add missing paramater to javadoc
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-06 17:12:04 -03:00
f0a5d7b219 Suppress false positive inspections
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-06 00:09:58 -03:00
1b3bdce253 Add project icon
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-06 00:07:02 -03:00
e0bc99a095 Optimize code
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-05 23:51:31 -03:00
e39f52d041 Add gems and new end game spot
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-05 23:41:14 -03:00
e4716faca5 Change gradle build to correctly copy libs
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-03 20:48:01 -03:00
7d48b1ccb5 Change over to gradle build system
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-03 20:16:37 -03:00
6b39c45d79 Add comments to log level enumeration
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-03 10:12:28 -03:00
8e062147e3 Remove test directory from project structure
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-01 21:27:48 -03:00
952eb535c8 Optimize code
Fix spelling

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-01 21:18:29 -03:00
b9d3532fbc Remove tests
Simplify audio
Simplify and optimize random object generation

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-01 20:57:27 -03:00
3662e40d74 Fix drawing issue
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-30 23:43:24 -03:00
6953d00782 Add package info files
Set volume to 0 in tests

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-30 22:57:55 -03:00
4f846a45fc Assign objects to cells
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-30 22:30:27 -03:00
db72bcf5dc Fix chest and key sound problems
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-30 13:46:44 -03:00
b1a307a8e5 Remove bold font
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-30 12:49:57 -03:00
2092690206 Change log system initialization
Remove sound threads
Refactor variable names

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-30 12:49:20 -03:00
4f65862177 Add missing documenation
Remove language from game panel

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-29 22:18:17 -03:00
fe4c7f1130 Reorganize project
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-29 21:19:53 -03:00
15c713fed4 Change game directory
Add width and height to scale image

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-29 18:50:27 -03:00
e38fca75b6 Add success music
Make portal able to switch between active and inactive
Make game "winnable"

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-29 18:38:03 -03:00
cc42ae71d2 Change package name to azaraka
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-28 20:31:20 -03:00
3a8fe487ea Ignore test suite libraries
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-27 15:05:54 -03:00
e45c3d105f Add game over
Add key
Interaction with key
Interaction with chest
Add health
Remove red and purple portals

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-26 16:09:24 -03:00
671a2abd29 Add chest object creation
Remove menu panel

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-23 11:05:47 -03:00
a61220d873 Add missing javadoc tags
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-22 21:36:59 -03:00
3534a3e621 Fix resource directory
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-22 21:26:49 -03:00
68b176ca85 Remove blue and purple portals
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-22 20:56:40 -03:00
ca822449c0 Add missing documentation
Add portal
Update enemies to be generated randomly

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-22 20:54:38 -03:00
860a380ba4 Fix javadoc dir
Make json file pretty

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-22 17:04:37 -03:00
c1fde9eded Change from simple-json library to gson library
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-22 14:23:42 -03:00
5f3a2df8cf Change directory name to javadoc
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-21 20:43:37 -03:00
ca46991813 Work through the AI book
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-09-21 20:41:21 -03:00