troll.git
3 years agoFIX: IT belongs in a MODEL! trolls-have-no-master
JBM [Tue, 25 Aug 2020 16:16:44 +0000 (18:16 +0200)]
FIX: IT belongs in a MODEL!

(authored months ago, had remained WIP in my work directory
for "some" reason)

3 years agoFIX IT. (and curse Java)
JBM [Sun, 14 Jun 2020 22:39:49 +0000 (00:39 +0200)]
FIX IT.  (and curse Java)

3 years agoClean up testing
JBM [Sun, 14 Jun 2020 14:48:22 +0000 (16:48 +0200)]
Clean up testing

3 years agoAdd a background color to the favicon
JBM [Sat, 13 Jun 2020 22:44:49 +0000 (00:44 +0200)]
Add a background color to the favicon

3 years agoDebug the CG SDK. Errr… I mean leaguify maps.
JBM [Sat, 13 Jun 2020 22:31:25 +0000 (00:31 +0200)]
Debug the CG SDK.  Errr… I mean leaguify maps.

I'm not too happy with having wasted so much time on this.

3 years agoLeaguify cheating
JBM [Thu, 11 Jun 2020 14:38:43 +0000 (16:38 +0200)]
Leaguify cheating

3 years agoStart leaguifying
JBM [Tue, 9 Jun 2020 16:56:04 +0000 (18:56 +0200)]
Start leaguifying

3 years agoFacade the SDK's GameManager out
JBM [Thu, 11 Jun 2020 09:45:32 +0000 (11:45 +0200)]
Facade the SDK's GameManager out

3 years agoMore testing. This code cleanup session supported by @Zorg1.
JBM [Wed, 10 Jun 2020 23:20:24 +0000 (01:20 +0200)]
More testing. This code cleanup session supported by @Zorg1.

3 years agoThis is not the test I was looking for
JBM [Wed, 10 Jun 2020 15:29:00 +0000 (17:29 +0200)]
This is not the test I was looking for

3 years agoWe're in 2020. I wrote Java before you. Here is my first JUnit.
JBM [Wed, 10 Jun 2020 15:13:53 +0000 (17:13 +0200)]
We're in 2020.  I wrote Java before you.  Here is my first JUnit.

I kind of lied.  This is my first JUnit *that passes*.
It's a close variation on my first JUnit, which is yesterday's
version of the same.

It took crazy too long to complete mostly because of the whacky
interface the CG GameRunner has to run Java agents.

I couldn't have done it without @dbdr.  Not so much for the
technical aspect of the end result so much as for the moral support
while coming up with all sorts of crazy ways to pass the data around,
and trying or proving them wrong.

3 years agoBug report from @Illedan
JBM [Tue, 9 Jun 2020 20:55:48 +0000 (22:55 +0200)]
Bug report from @Illedan

3 years agoImplement god mode
JBM [Mon, 8 Jun 2020 15:05:52 +0000 (17:05 +0200)]
Implement god mode

3 years agoHotfix: (from @pb4) a dead player isn't granted an early termination
JBM [Mon, 8 Jun 2020 10:05:19 +0000 (12:05 +0200)]
Hotfix: (from @pb4) a dead player isn't granted an early termination

This is an unfortunate consequence of the migration to multiround:
I can't count on gameManager.getActivePlayers() anymore since I
don't deactivate players simply for losing a round.

I'm getting closer and closer to wrapping GameManager.

3 years agoEarly game termination
JBM [Sun, 7 Jun 2020 16:00:08 +0000 (18:00 +0200)]
Early game termination

Game termination is now a frame of its own; castle destruction
is pushed to a new "endgame" frame.

3 years agoIncrease cheating reserve bots' variety
JBM [Sun, 7 Jun 2020 13:36:14 +0000 (15:36 +0200)]
Increase cheating reserve bots' variety

3 years agoTime rationalization
JBM [Sun, 7 Jun 2020 13:06:05 +0000 (15:06 +0200)]
Time rationalization

3 years agoEndgame status must spring out of opposite corner, not always lower right
JBM [Sun, 7 Jun 2020 12:43:05 +0000 (14:43 +0200)]
Endgame status must spring out of opposite corner, not always lower right

3 years agoReorganize rest of View
JBM [Sun, 7 Jun 2020 12:41:06 +0000 (14:41 +0200)]
Reorganize rest of View

3 years agoReorganize View/Player
JBM [Sun, 7 Jun 2020 12:26:49 +0000 (14:26 +0200)]
Reorganize View/Player

3 years agoNothing like an up-to-date PLAB
JBM [Thu, 4 Jun 2020 20:49:08 +0000 (22:49 +0200)]
Nothing like an up-to-date PLAB

3 years agoUpdate intro replay
JBM [Thu, 4 Jun 2020 20:15:57 +0000 (22:15 +0200)]
Update intro replay

3 years agoBoss timed out. Reported by @Snef
JBM [Thu, 4 Jun 2020 14:48:09 +0000 (16:48 +0200)]
Boss timed out.  Reported by @Snef

3 years agoRoll back to constant game parameters count for @BlaiseEbuth, as most languages stubs...
JBM [Thu, 4 Jun 2020 14:35:13 +0000 (16:35 +0200)]
Roll back to constant game parameters count for @BlaiseEbuth, as most languages stubs don't support variable

3 years agoHTML for salting the seed
JBM [Thu, 4 Jun 2020 14:10:38 +0000 (16:10 +0200)]
HTML for salting the seed

3 years agoAdd a side seed for @pb4. Cry before the in-IDE HTML rendering.
JBM [Thu, 4 Jun 2020 13:28:07 +0000 (15:28 +0200)]
Add a side seed for @pb4.  Cry before the in-IDE HTML rendering.

3 years agoBug report from @Astrobytes and @UnnamedCodinGamer
JBM [Wed, 3 Jun 2020 21:00:13 +0000 (23:00 +0200)]
Bug report from @Astrobytes and @UnnamedCodinGamer

3 years agoSend game seed in inputs. Update HTML.
JBM [Wed, 3 Jun 2020 16:29:37 +0000 (18:29 +0200)]
Send game seed in inputs.  Update HTML.

3 years agoTrolls speak louder than castles, or so I've heard
JBM [Mon, 1 Jun 2020 21:56:25 +0000 (23:56 +0200)]
Trolls speak louder than castles, or so I've heard

3 years agoActivate cheating
JBM [Sun, 31 May 2020 14:52:19 +0000 (16:52 +0200)]
Activate cheating

3 years agoPants color selector
JBM [Sun, 31 May 2020 11:08:49 +0000 (13:08 +0200)]
Pants color selector

3 years agoMoar trolling, this one my own
JBM [Sat, 30 May 2020 21:25:27 +0000 (23:25 +0200)]
Moar trolling, this one my own

3 years agoMoar trolling. Adapted from @Astrobytes.
JBM [Sat, 30 May 2020 16:44:33 +0000 (18:44 +0200)]
Moar trolling.  Adapted from @Astrobytes.

Original post: I can't seem to extract a link. :-(
It's a comment on the ontribution page.

3 years agoTrolls can be of different races
JBM [Fri, 29 May 2020 23:09:35 +0000 (01:09 +0200)]
Trolls can be of different races

3 years agoFeed model parameters back to IDE.
JBM [Fri, 29 May 2020 21:48:19 +0000 (23:48 +0200)]
Feed model parameters back to IDE.

This took multiple tries.  The API's documentation is
*very* misleading in this regard.

I'll report it on a day I believe good will pays.
I'll probably forget it before then.

3 years agoUseless config is bad config. Kudos @eulerscheZahl
JBM [Fri, 29 May 2020 20:33:41 +0000 (22:33 +0200)]
Useless config is bad config.  Kudos @eulerscheZahl

3 years agoI'll need this later
JBM [Fri, 29 May 2020 14:02:26 +0000 (16:02 +0200)]
I'll need this later

3 years agoUpdate the statement with a more up-to-date state of the flux
JBM [Fri, 29 May 2020 13:41:08 +0000 (15:41 +0200)]
Update the statement with a more up-to-date state of the flux

3 years agoMake game parameters overridable through game settings
JBM [Fri, 29 May 2020 12:54:25 +0000 (14:54 +0200)]
Make game parameters overridable through game settings

3 years agoBrighten up the troll's mouth and pants
JBM [Fri, 29 May 2020 10:21:06 +0000 (12:21 +0200)]
Brighten up the troll's mouth and pants

3 years agoMake the trolling optional
JBM [Fri, 29 May 2020 09:00:09 +0000 (11:00 +0200)]
Make the trolling optional

3 years agoIsotropic sayings' relative frequency shouldn't be thrice the others'.
JBM [Thu, 28 May 2020 22:01:18 +0000 (00:01 +0200)]
Isotropic sayings' relative frequency shouldn't be thrice the others'.

Also add a few more.

3 years agoGet the troll to utter stuff
JBM [Thu, 28 May 2020 20:36:36 +0000 (22:36 +0200)]
Get the troll to utter stuff

3 years agoFunky loss visuals. A cheater doesn't lose to timeout/illegal anymore.
JBM [Thu, 28 May 2020 15:35:23 +0000 (17:35 +0200)]
Funky loss visuals.  A cheater doesn't lose to timeout/illegal anymore.

3 years agoRestore cheat throw visuals
JBM [Thu, 28 May 2020 09:44:00 +0000 (11:44 +0200)]
Restore cheat throw visuals

I don't remember when we lost them, I don't test them
often enough, it seems.

3 years agoExtract more referee to the view
JBM [Wed, 27 May 2020 23:05:43 +0000 (01:05 +0200)]
Extract more referee to the view

3 years agoLint compilation. Probably. Thanks @Zorg1!
JBM [Wed, 27 May 2020 23:05:17 +0000 (01:05 +0200)]
Lint compilation.  Probably.  Thanks @Zorg1!

3 years agoPatches welcome
JBM [Wed, 27 May 2020 23:04:50 +0000 (01:04 +0200)]
Patches welcome

3 years agoMore debug utility
JBM [Wed, 27 May 2020 16:36:35 +0000 (18:36 +0200)]
More debug utility

3 years agoOfficialize changelog being the repo
JBM [Wed, 27 May 2020 13:20:50 +0000 (15:20 +0200)]
Officialize changelog being the repo

3 years agoAdd some mountains
JBM [Wed, 27 May 2020 13:12:58 +0000 (15:12 +0200)]
Add some mountains

3 years agoAdd debug mode for @pb4. Also ensure it's useless by
JBM [Wed, 27 May 2020 09:52:44 +0000 (11:52 +0200)]
Add debug mode for @pb4. Also ensure it's useless by
displaying the troll's position as a distance from both
sides instead of from the road's center.

3 years agoLink to source code
JBM [Tue, 26 May 2020 00:44:57 +0000 (02:44 +0200)]
Link to source code

3 years agoFactor disqualifications
JBM [Mon, 25 May 2020 12:45:19 +0000 (14:45 +0200)]
Factor disqualifications

3 years agoMore trees (same contributor)
JBM [Mon, 25 May 2020 12:19:39 +0000 (14:19 +0200)]
More trees (same contributor)

3 years agoTrees! (kudos @Alshock)
JBM [Mon, 25 May 2020 11:31:20 +0000 (13:31 +0200)]
Trees! (kudos @Alshock)

3 years agoDon't destroy the castle if the troll doesn't reach it
JBM [Mon, 25 May 2020 08:52:55 +0000 (10:52 +0200)]
Don't destroy the castle if the troll doesn't reach it

3 years agoFactor protocol and gameTurn() loop
JBM [Sun, 24 May 2020 16:58:06 +0000 (18:58 +0200)]
Factor protocol and gameTurn() loop

3 years agoCleanup and meta updates
JBM [Sun, 24 May 2020 15:51:50 +0000 (17:51 +0200)]
Cleanup and meta updates

3 years agoAnnounce it's the loser who gets destroyed instead of the winner. (spotted by @Astrob...
JBM [Sat, 23 May 2020 21:18:38 +0000 (23:18 +0200)]
Announce it's the loser who gets destroyed instead of the winner. (spotted by @Astrobytes)

Former transcript example:

egaetan tried not throwing stones.  Fixing that for them because I'm in a good mood today.
egaetan throws 1 stone at the troll.
Astrobytes throws 0 stones at the troll.
Troll walks right.
Troll destroys egaetan
egaetan wins

3 years agoRandomize defeated avatar rotation direction
JBM [Sat, 23 May 2020 00:06:33 +0000 (02:06 +0200)]
Randomize defeated avatar rotation direction

3 years agoAdjust avatar background not to show white pixels out of frame
JBM [Sat, 23 May 2020 00:01:57 +0000 (02:01 +0200)]
Adjust avatar background not to show white pixels out of frame

3 years agoDon't keep last stone throw count up after the fact
JBM [Fri, 22 May 2020 23:46:57 +0000 (01:46 +0200)]
Don't keep last stone throw count up after the fact

3 years agoStone throw reminder for @dbdr's debugging. Also UI stuff.
JBM [Fri, 22 May 2020 22:23:53 +0000 (00:23 +0200)]
Stone throw reminder for @dbdr's debugging.  Also UI stuff.

Namely:
  * pixel tweaks in frame backgrounds
  * "random" frame sprite orientation

3 years agoRepair gauges
JBM [Fri, 22 May 2020 21:30:55 +0000 (23:30 +0200)]
Repair gauges

3 years agoBreak stone counter. FIX AVATAR DEFEAT ANIMATION AT LAST!!!cos0!!
JBM [Fri, 22 May 2020 20:13:15 +0000 (22:13 +0200)]
Break stone counter. FIX AVATAR DEFEAT ANIMATION AT LAST!!!cos0!!

3 years agoMajor model/view split. Compiles and runs, but viewer is sub-par.
JBM [Fri, 22 May 2020 15:32:41 +0000 (17:32 +0200)]
Major model/view split.  Compiles and runs, but viewer is sub-par.

3 years agoSplit some code to view
JBM [Thu, 21 May 2020 22:30:39 +0000 (00:30 +0200)]
Split some code to view

3 years agoSplit referee data to model and view
JBM [Thu, 21 May 2020 22:08:19 +0000 (00:08 +0200)]
Split referee data to model and view

3 years agoLOL-hotfix: right castle was closer to the troll's starting point than left one
JBM [Thu, 21 May 2020 21:45:43 +0000 (23:45 +0200)]
LOL-hotfix: right castle was closer to the troll's starting point than left one

3 years agoClarify one-stone rule and timings
JBM [Thu, 21 May 2020 21:35:28 +0000 (23:35 +0200)]
Clarify one-stone rule and timings

3 years agoThat fencepost inconsistency turned out NOT to be a breaking change.
JBM [Thu, 21 May 2020 20:45:49 +0000 (22:45 +0200)]
That fencepost inconsistency turned out NOT to be a breaking change.

3 years agoCG expects Java agents in public class "Player" even when filename is Boss.java
JBM [Thu, 21 May 2020 19:58:45 +0000 (21:58 +0200)]
CG expects Java agents in public class "Player" even when filename is Boss.java

This fixes the boss timeouts.

3 years agoNPE hotfix
JBM [Thu, 21 May 2020 19:58:27 +0000 (21:58 +0200)]
NPE hotfix

3 years agoMessaging
JBM [Thu, 21 May 2020 15:38:27 +0000 (17:38 +0200)]
Messaging

3 years agoUpgrade to engine 3.15.0
JBM [Thu, 21 May 2020 12:56:18 +0000 (14:56 +0200)]
Upgrade to engine 3.15.0

3 years agoDocument length/distance duality and impending doom
JBM [Thu, 21 May 2020 00:53:37 +0000 (02:53 +0200)]
Document length/distance duality and impending doom

3 years agoDocument the maps
JBM [Wed, 20 May 2020 23:49:23 +0000 (01:49 +0200)]
Document the maps

3 years agoLink to contrib and forum
JBM [Wed, 20 May 2020 23:28:45 +0000 (01:28 +0200)]
Link to contrib and forum

3 years agoEnforce 1-stone rule. Animate defeats a bit more.
JBM [Wed, 20 May 2020 22:40:36 +0000 (00:40 +0200)]
Enforce 1-stone rule.  Animate defeats a bit more.

3 years agoEarly termination
JBM [Wed, 20 May 2020 14:53:19 +0000 (16:53 +0200)]
Early termination

3 years agoFill up statement
JBM [Wed, 20 May 2020 14:10:13 +0000 (16:10 +0200)]
Fill up statement

3 years agoMore .gitignore
JBM [Wed, 20 May 2020 14:10:04 +0000 (16:10 +0200)]
More .gitignore

3 years agoInitial commit
JBM [Wed, 20 May 2020 13:21:22 +0000 (15:21 +0200)]
Initial commit