Commit Graph

62 Commits

Author SHA1 Message Date
6183bf84c6 Fix infinite search in A* Search
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-26 13:47:08 -03:00
7744b5ae6d Fix missing javadoc tags
Make enemy AI a little bit slower

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-21 14:52:47 -03:00
cbcb6d0d01 Implement A* Search
Many changes to improve AI usage

Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-17 12:27:17 -03:00
1ac56b3b39 Change code style for groovy
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-14 09:26:56 -03:00
5b8e36876c Don't deactivate the portal if a gem wasn't purified
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-14 09:26:14 -03:00
c32efe7db0 Download the javadoc for gson as well
Signed-off-by: Chris Cromer <chris@cromer.cl>
2019-10-13 21:52:24 -03:00
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