Commit Graph

87 Commits

Author SHA1 Message Date
Woody Folsom
0bb61eece8 Added PlayerProfile.getProbability(LevelComponent.TYPE). 2012-03-18 13:03:16 -04:00
Marshall
dc6fe7e493 - Added the notion of "challenge type" difficulty weighting. It doesn't do anything yet, but the scaffolding is there. Create a set of enums to aid that.
- Added more precise platform number randomizing in the platform jump challenge.
- Removed the hard-coded difficulty in the testing generation branch.
2012-03-18 13:01:51 -04:00
Woody Folsom
554e9af319 Fixed manifest and build file so that mario can be built and run on the command-line. 2012-03-18 12:27:29 -04:00
Woody Folsom
7b6baaa538 Basic FitnessEvaluator tries 10x to generate a level containing between 8 and 16 level components. 2012-03-18 11:33:18 -04:00
Woody Folsom
d6516388ad Now with file-based level grammar. 2012-03-18 10:56:25 -04:00
Woody Folsom
b431d5efeb Functional context-free grammar! Worked first time! Well... almost. 2012-03-18 08:09:53 -04:00
Marshall
9ce8685b74 Merge branch 'master' of woodyfolsom.net:/opt/git/cs8803p3
Conflicts:
	src/dk/itu/mario/level/PCGLevel.java
2012-03-18 05:33:57 -04:00
Marshall
f0b7487476 This patch has a TON of changes. I updated almost every challenge and added some new ones. I think it represents a good suite of possibilities. Check it out. 2012-03-18 05:25:33 -04:00
Woody Folsom
763fa16cde Merge branch 'master' of woodyfolsom.net:/opt/git/cs8803p3 2012-03-17 22:23:45 -04:00
Woody Folsom
7d747765ef Implemented stochastic grammar. Work in progress. 2012-03-17 22:23:38 -04:00
Marshall
ac968b5b7f - Fixed another platform jumping impossibility bug.
- Added monsters to platform jumping.
- Difficulty is now hard-coded to six.
2012-03-17 21:55:00 -04:00
Marshall
f179f2daa5 - Adjusted difficulty formula for bowling challenge.
- Added difficulty-weighted maze monsters.
- Note: this build has a hard-coded difficulty of 10.
2012-03-17 21:15:44 -04:00
Marshall
63b89b053f - Fixed an off-by-one error in the bowling challenge. 2012-03-17 20:49:55 -04:00
Marshall
ce8cb49029 Merge branch 'master' of woodyfolsom.net:/opt/git/cs8803p3 2012-03-17 20:44:41 -04:00
Marshall
a84bc72b13 - Changed platforms/mazes to rocks.
- Fixed impossible platform jump bug.
- Implemented difficulty adjustment for bowling.
- Implemented short-form freebies.
2012-03-17 20:44:21 -04:00
Woody Folsom
1790d48393 Non-bogus ProfileMatcher. 2012-03-17 20:07:58 -04:00
Marshall
9c6799f916 Merge branch 'master' of woodyfolsom.net:/opt/git/cs8803p3 2012-03-17 18:41:42 -04:00
Marshall
b43f6530ac Added the bowling challenge. 2012-03-17 18:41:01 -04:00
Woody Folsom
d038262bbd Merge branch 'master' of woodyfolsom.net:/opt/git/cs8803p3 2012-03-17 18:09:14 -04:00
Woody Folsom
109c2d099a Rete-based rule system (Drools) correctly fires the appropriate actions when Player's Profile meets certain criteria, based on the rules in rules/LevelTunerRules.drl. 2012-03-17 18:08:56 -04:00
Marshall
2d7507632d Added the LemmingTrap challenge. 2012-03-17 17:47:40 -04:00
Woody Folsom
1d9eae7af0 Merge branch 'master' of woodyfolsom.net:/opt/git/cs8803p3 2012-03-17 16:46:18 -04:00
Woody Folsom
27d357f1fc Now with Drools demo (Rete System to match which level building rules to fire for which PlayerProfiles/Archetypes). 2012-03-17 16:46:01 -04:00
Marshall
51d63838da Incorporated new challenges into PCGLevel.java. This included adding functions to PCGLevel.java, adding them to the generation switch statement, and adding a couple of enums to LevelComponent.java. 2012-03-17 15:31:04 -04:00
Woody Folsom
28cc5715e9 Eclipse files. 2012-03-17 14:44:21 -04:00
Woody Folsom
653c7fc3df A boring overland world was generated from a grammar! 2012-03-17 14:15:38 -04:00
Woody Folsom
8bedf88fd3 Renamed MyNewLevel -> PCGLevel. 2012-03-17 12:33:00 -04:00
Woody Folsom
2c5339ba8e Repackaged grammar and (profile/archetype) matchers. 2012-03-17 12:05:46 -04:00
Woody Folsom
e1aadadde4 Implemented stub functionality for determining player Profile, level Archetype and generating Level Components using a simple grammar.
See new method calls in MyNewLevel for an example of this level creation pipeline.
2012-03-17 11:49:50 -04:00
Woody Folsom
a827ca7430 Refactoring to allow MyNewLevelGenerator to determine the level type, difficulty and music based on the player metrics.
Work in progress.
2012-03-17 10:26:33 -04:00
Woody Folsom
47520126ff Added facility to save and read DetailedInfo (DataRecorder data) in XML format using XStream. 2012-03-16 15:54:45 -04:00
Woody Folsom
0ac74b3297 Fixed build so that it does not break after a clean build is the .txt files have been deleted from the top-level directory.
Added a skeleton write-up in LaTeX with example list, screenshot, table etc.
2012-03-16 14:30:18 -04:00
Woody Folsom
1cd007e798 Added screen-capture functionality (press D). Added safeguards to prevent NPE when player.txt, DetailedInfo.txt do not exist. Removed these files from source control. 2012-03-16 13:31:15 -04:00
Marshall
7ec3ac5a9d I did stuff!
Signed-off-by: Marshall <marshall@ThinkOrElse.com>
2012-03-13 11:45:55 -04:00
Woody Folsom
de5718ba36 Marshall's new level generator. 2012-03-13 11:40:58 -04:00
Woody Folsom
903437b727 Added 'MyNewLevel' as a possible value for the 'generator' arg.
To run it,
ant clean
ant
cd dist
java -jar CS8803_P3.jar generator=MyNewLevel
2012-03-06 15:10:33 -05:00
Woody Folsom
8e83234a87 Initial commit. 2012-03-06 11:42:35 -05:00