Ooops
May 30, 2020, 05:02:02 PM

Author Topic: Game comp ideas for Comp May 4th to Jun 30th  (Read 12117 times)

Online Steve Elliott

  • Moderator
  • Hero Member
  • *****
  • Posts: 2453
Re: Game comp ideas for Comp May 4th to Jun 30th
« Reply #45 on: April 23, 2018, 09:48:08 PM »
Quote
That idea sounds a bit familiar :)

https://www.syntaxbomb.com/index.php/topic,4006.msg11870.html#msg11870

So there is actually a consensus??   ;)
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Catalina, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.3, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
Raspberry pi 3 and 4.

Online STEVIE G

  • Sr. Member
  • ****
  • Posts: 412
Re: Game comp ideas for Comp May 4th to Jun 30th
« Reply #46 on: April 23, 2018, 10:00:09 PM »
I was just looking at some entries for LD41 which was combine 2 incompatible/unlikely genres.  Looks like alot of fun and some wierd and wonderful combinations.  Turn based bullet hell, racing beat-em-up etc..
That idea sounds a bit familiar :)
https://www.syntaxbomb.com/index.php/topic,4006.msg11870.html#msg11870

It's clearly a great idea ;D

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2372
Re: Game comp ideas for Comp May 4th to Jun 30th
« Reply #47 on: April 23, 2018, 10:53:11 PM »
Well a repeated idea sounds like a plan ;D

OK, so we'll pencil in the "mix two genres" idea...But keep it open in case some others popup.

Now... We need some for of limitation / boundary to go along with our potential theme ;D
Until the next time...

Online Steve Elliott

  • Moderator
  • Hero Member
  • *****
  • Posts: 2453
Re: Game comp ideas for Comp May 4th to Jun 30th
« Reply #48 on: April 23, 2018, 10:55:39 PM »
Why does there need to be a limitation?  Mix 2 genres seems perfectly fine.
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Catalina, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.3, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
Raspberry pi 3 and 4.

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2372
Re: Game comp ideas for Comp May 4th to Jun 30th
« Reply #49 on: April 23, 2018, 11:02:27 PM »
And that might just be the case... BUT BUT BUT, if the topic is known now then some unscrupulous bad bad people could start their game tonight having an unfair advantage, so we need options available to make sure the exact nature of the comp isn't known until launch day. Got it? good :))
Until the next time...

Offline Xerra

  • Hero Member
  • *****
  • Posts: 930
    • Retro Evolved
Re: Game comp ideas for Comp May 4th to Jun 30th
« Reply #50 on: April 24, 2018, 12:16:39 AM »
Please can we not use a graphical restriction like palette or similar. I'm already struggling with the concept of maybe not having my beloved 1024*768 resolution :-(

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2372
Re: Game comp ideas for Comp May 4th to Jun 30th
« Reply #51 on: April 24, 2018, 04:21:15 AM »
Please can we not use a graphical restriction like palette or similar. I'm already struggling with the concept of maybe not having my beloved 1024*768 resolution :-(
There may be no limitations beyond the theme ;D - But just for you I promise no palette restrictions in the next comp, honest!.
Until the next time...

Offline Derron

  • Hero Member
  • *****
  • Posts: 2975
Re: Game comp ideas for Comp May 4th to Jun 30th
« Reply #52 on: April 24, 2018, 07:41:11 AM »
As written already some time ago: If we used a theme generator then the generator is used right on compo start. Means you could even create a thread in advance and then edit in the theme on "midnight".
This could even get done by a script, so Qube does not need to stay awake till midnight :p

I would add to the rules, that entries need to have a screenshot - or some kind of "rectangular artwork" in the submission (could be added some time later - for the "late birds" submitting 1 minute before end). That way Qube could more easily fill the "competition entry"-overview-page :-)


bye
Ron

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1718
Re: Game comp ideas for Comp May 4th to Jun 30th
« Reply #53 on: April 24, 2018, 07:47:38 AM »
mix 2 genres sound good.
mix 2 genres from a list of 6 sounds brilliant!

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2372
Re: Game comp ideas for Comp May 4th to Jun 30th
« Reply #54 on: April 24, 2018, 06:03:54 PM »
As written already some time ago: If we used a theme generator then the generator is used right on compo start. Means you could even create a thread in advance and then edit in the theme on "midnight".
This could even get done by a script, so Qube does not need to stay awake till midnight :p

I would add to the rules, that entries need to have a screenshot - or some kind of "rectangular artwork" in the submission (could be added some time later - for the "late birds" submitting 1 minute before end). That way Qube could more easily fill the "competition entry"-overview-page :-)
I'm 99% always up and about at midnight ;D - There's a nice little project for you. A totally random game theme generator. Write it in PHP and then I just set the date for it to post and it makes up the comp theme / rules :))
Until the next time...

Offline Derron

  • Hero Member
  • *****
  • Posts: 2975
Re: Game comp ideas for Comp May 4th to Jun 30th
« Reply #55 on: April 24, 2018, 08:39:13 PM »
Ok, here is a base approach (my PHP is a bit rusty so excuse if there are easier ways to do so).
Code: PHP
  1. <?php
  2.         date_default_timezone_set('UTC');
  3.         //may 1st 2018
  4.         $competitionTime = mktime(0, 0, 0, 5, 1, 2018);
  5.         //adjust random seeds per competition (read below about randomness)
  6.         $genreRandomSeed = 124564;
  7.         $themesRandomSeed = 4564658;
  8.  
  9.         // genres
  10.         $genres = array(
  11.                                 "Action",
  12.                                 "Arcade",
  13.                                 "Jump'n'Run",
  14.                                 "Simulation"
  15.                                 );
  16.  
  17.         // theme
  18.         $themes = array(
  19.                                 "Clowns",
  20.                                 "Exploration"
  21.                                 );
  22.  
  23.         // some kind of "random" access
  24.         // we cannot use "mt_srand()" or "srand" as a potentially installed
  25.         // suhosin-patch will prohibit setting the seed accoringly
  26.  
  27.         // so we just use the desired competition starting time, multiply it
  28.         // with a custom seed (so others cannot "precalculate" what will get
  29.         // output)
  30.         // TODO: fetch the random number from an external source, so Qube
  31.         //       is not able to "secretly" generate something
  32.         //       -> fetch from an external website having a random number
  33.         //          generated at UTC "0:00" each day (best: with an archive
  34.         //          of past days, so number stays "constant)
  35.         //       -> this random numbers replace the random seeds for genre/themes
  36.  
  37.         $genreIndex = ($competitionTime * $genreRandomSeed) % count($genres);
  38.         $themeIndex = ($competitionTime * $themesRandomSeed) % count($themes);
  39.  
  40.         print "(debug) competition time: " . $competitionTime . PHP_EOL;
  41.         if (time() < $competitionTime) {
  42.                 print "competition did not start yet - but for debugging we still print the stuff ;-)" . PHP_EOL;
  43.                 print "(debug) genre: " . $genres[$genreIndex] . PHP_EOL;
  44.                 print "(debug) theme: " . $themes[$themeIndex] . PHP_EOL;
  45.         } else {
  46.                 print "genre: " . $genres[$genreIndex] . PHP_EOL;
  47.                 print "theme: " . $themes[$themeIndex] . PHP_EOL;
  48.         }
  49. ?>
  50.  

As stated you cannot use the inbuilt PRNG as mt_srand() and srand() might not work on your host (if you had suhosin patches installed).
Random.org provides some kind of "random number pregenerated daily"-files - if you subscribed ;-). If someone else knows a host who has a daily "at UTC 0:00"-generated file of some random stuff (can be text, numbers, ...) drop a line, we could use that.
Until then the basic idea is to have a random number be based on individual "seed bases" and the competition time (competition time would not be needed at all - but this helps making the number a bit bigger ;-)). The seed needs to be kept as secret until competition starts (as this would allow previewing what would get printed then).

Also we need to have some list of "potential themes" (genres, themes). So this could come from an external text file too.

Of course the whole thing could have another random part: either have "genre + theme" or some kind of abstract keywords - like "sexuality", "modern life", "pencils" ...


bye
Ron

Offline Xerra

  • Hero Member
  • *****
  • Posts: 930
    • Retro Evolved
Re: Game comp ideas for Comp May 4th to Jun 30th
« Reply #56 on: April 24, 2018, 08:59:52 PM »
Looks to me like the date that script goes live is 1st of May and not the 4th. Cool. Three extra days to get the job done :-)

Don't think Qube is going to attempt to rig it to get the themes of the competition early somehow. Paranoia in that script, lol.

Offline Derron

  • Hero Member
  • *****
  • Posts: 2975
Re: Game comp ideas for Comp May 4th to Jun 30th
« Reply #57 on: April 24, 2018, 09:37:37 PM »
It's not about what Qube does, but what others think Qube could do. Especially if you are able to attract some new users (promoting the compo to AGK forums and the likes?) envy and other bad behaviour might come to this place.
timestamp was just the begin of next month to test out.

bye
Ron

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2372
Re: Game comp ideas for Comp May 4th to Jun 30th
« Reply #58 on: April 24, 2018, 11:31:13 PM »
Quote
Ok, here is a base approach (my PHP is a bit rusty so excuse if there are easier ways to do so).
Good stuff, thanks Derron :)

I'll build it up and then a few minutes before the comp starts I've do a video of the source code listing in a terminal window and then executing the script and showing the date / time. Sure, if I was a cheater I could fake it all but as I can't win anything then it's pretty pointless, plus I'd hate to cheat and even win a proxy placing as that not winning at all in my book.

So the comp will be a genre mix but what kind of mix and what kind of options remains to be seen ;D - I'll adapt the script to give entrants a few options as they may not like just having one option.

Quote
Don't think Qube is going to attempt to rig it to get the themes of the competition early somehow
Lol, no. My main goal here is to try and make sure everyone has the same amount of time.

As said, I'll create a video ( probably 20 minutes before the comp starts ) showing :

1.. A terminal window next to the clock showing date / time
2.. Listing the source in the terminal window
3.. Running the code
4.. Showing the output of the chosen mixed theme options

I think that's a fair enough system for this comp. A bit OTT but a bit of extra fun as I'll only get to know about 20 minutes beforehand myself what the options are ;D.
Until the next time...

Offline Xerra

  • Hero Member
  • *****
  • Posts: 930
    • Retro Evolved
Re: Game comp ideas for Comp May 4th to Jun 30th
« Reply #59 on: April 25, 2018, 12:25:25 AM »
Plus the same system can be used for future competitions and just the themes thrown into the random mix changed. Not a bad idea at all.

What's the thinking? Two words out of six that Adam was suggesting? I like the sound of that. And maybe the six most interesting words suggested from now get thrown into the mix?

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal