Блог пользователя craus

Автор craus, история, 6 лет назад, По-русски

Всем привет.

Хочу представить вашему вниманию небольшую игру, которую я сделал про codeforces.

Она браузерная. Вот ссылка: https://craus.github.io/codeforces-simulator/

Заодно там сделал раздел More games, если вас заинтересуют другие мои игры. Я очень люблю их делать. Одна вот вышла в стим вчера. Тоже можете заценить.

  • Проголосовать: нравится
  • +687
  • Проголосовать: не нравится

»
6 лет назад, # |
  Проголосовать: нравится +32 Проголосовать: не нравится

Highly addicting game !

»
6 лет назад, # |
  Проголосовать: нравится +21 Проголосовать: не нравится
-3s left :)
  • »
    »
    6 лет назад, # ^ |
      Проголосовать: нравится +3 Проголосовать: не нравится

    When you see message like this, you can consider remaining time is normally distributed with mean -3, triple standard deviation 8, BUT all outcomes when it is lower than 0 are, of course, not possible.

    In your case, remaining time is distributed mostly between 0 and 5 seconds, with larger probability density for values closer to 0.

    The restriction "remaining time cannot be less than 0" makes distribution formula stop being normal distribution and I failed to realize how to show it better. Finally I end up keeping this label as is.

    I can for instance output "2.5±2.5 s" here, but this will not be good, because 2.5 s is NOT a mean value in this situation.

»
6 лет назад, # |
Rev. 4   Проголосовать: нравится +34 Проголосовать: не нравится

i got first!!!!!

UPD: wow, this is way harder than I thought, I always end up on the bottom now

UPD: just became the first candidate master in my list of fake contestants.

»
6 лет назад, # |
Rev. 3   Проголосовать: нравится +11 Проголосовать: не нравится

That best rating I had at one time was 2148 :). I also had a contest where all the users solved all the problems.

I like how this relies mostly on luck, but there are still strategies you can come up with. For instance, because the relation between the expected solving time, possible error, max score, and decrease in points, is all linear, then you should pick the problems that result with a time lower than expected first (the ratio between the actual solving time and the expected solving time).

For instance what I liked doing is picking a problem C/D and hoping for good luck, and in the meantime (which should take long enough because it's a C/D) watch the scoreboard to see what problems have "good luck" and what problems have "bad luck" (even though there is a possible error to the solving time, the real solving time is equal between everyone).

I don't know why I took it this seriously, I found it pretty fun.

  • »
    »
    6 лет назад, # ^ |
      Проголосовать: нравится -8 Проголосовать: не нравится

    I think the best strategy is to start with the E for a couple seconds, and if the expected time is really bad after like 10 seconds, then move on to D, and so on. If you get accepted then just select the ones among the other contestants that offer the best value.

»
6 лет назад, # |
Rev. 2   Проголосовать: нравится +3 Проголосовать: не нравится

The moment when you lost your first place because you started a new problem milliseconds before the current one got accepted and you had to waste 0.08s (or more) on clicking two buttons at distinct positions.

  • »
    »
    6 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    I forgot to mention this in UI, but you can use hotkeys 1-5 for SOLVE buttons.

    I also think about how to prevent micro management in such cases, but I am in doubt whether it would be good, because reaction-clicking is possibly fun part of the game.

  • »
    »
    6 лет назад, # ^ |
      Проголосовать: нравится -8 Проголосовать: не нравится

    It's same as real contest, 1 second can be a huge difference

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

The amount of seconds to solve each one is constant for all players?

  • »
    »
    6 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Yes. All characters have equal skill in programming. You should win only with tactics. Unlike in real rounds, where cool programmers can utilize their programming skill advantage, making tactical part of gameplay almost useless.

»
6 лет назад, # |
  Проголосовать: нравится +15 Проголосовать: не нравится

You lose rating even if you don't submit anything.

Still cool game :)

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

That's amazing!

And how about to add hack to the game? :)

»
6 лет назад, # |
  Проголосовать: нравится +227 Проголосовать: не нравится
  • You know at least approximately how long it takes you to solve any particular problem;
  • No verdicts except Accepted;
  • No "is it rated??/?" comments;
  • "CONTEST IS RUИNING" message won't let you forget what is usually going on during a contest;
  • Contests are held literally every several minutes;
  • System testing + ratings calculation takes about one second.

10\10, will definitely recommend it to my friends.

»
6 лет назад, # |
  Проголосовать: нравится +5 Проголосовать: не нравится

Auto comment: topic has been updated by craus (previous revision, new revision, compare).

»
6 лет назад, # |
  Проголосовать: нравится +233 Проголосовать: не нравится

wtf?

»
6 лет назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

How do the points degrade?

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Awesome Game! Looking forward for more, bro.

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Nice game, I'd like if the duration of a round would be shorter by increasing the clock's speed

»
6 лет назад, # |
  Проголосовать: нравится +19 Проголосовать: не нравится

Cool game, but there is no system testing

»
6 лет назад, # |
  Проголосовать: нравится +5 Проголосовать: не нравится

I solved in increasing difficulty and won always :D. But in reality I can't :/ cries in corner

»
6 лет назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

Even with simulator I can't stop losing rate :'(

»
6 лет назад, # |
  Проголосовать: нравится +6 Проголосовать: не нравится

nice :')

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

How Are You Keeping Track Of The Players(you) even if i logout of my CF account.

»
6 лет назад, # |
  Проголосовать: нравится -13 Проголосовать: не нравится

I won against tourist. Therefore, upvoted :D

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you make a feature where i can change my skill level to master or above? I just want to live in my dream that i could solve all problems of contest xD

»
6 лет назад, # |
  Проголосовать: нравится +5 Проголосовать: не нравится

Это нормально, что все игроки решили задачу E за 3 секунды?

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I LOVE your game. It is just AWESOME!!!

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Thanks a lot for Codeforces Simulator, craus. Can you please make Black Mage Fight for Linux.

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Plz buy .T.E.S.T: Expected Behaviour or craus may die of starvation.

  • »
    »
    6 лет назад, # ^ |
      Проголосовать: нравится +10 Проголосовать: не нравится

    ...or at least may be forced to stop making games as primary job.

    But that does not matter. I'd better offer this game to codeforces community, because it is puzzle game and possibly competitive programmers may like it.

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Would like to play this one against real people.

It should be crazy trilling.

  • »
    »
    6 лет назад, # ^ |
      Проголосовать: нравится +15 Проголосовать: не нравится

    I've heard there is some site with a similar game, and you even compete against real people!

»
6 лет назад, # |
  Проголосовать: нравится +4 Проголосовать: не нравится

I don't know if it is happening to only me or not. After playing the game for 4-5 rounds, my PC is always crushing.
I run System Monitor and see when I run the game the memory usage of "Firefox" and "Web" only increases. Memory usages of "Web" never decreases (only few), after 4-5 rounds it is overloading my Memory and PC is crushing. Is it a problem in my side? I am using Mozilla Firefox on Manjaro.

Web Crush

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Why is this so addictive haha

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

First time I get so high in the rating. At this moment only MikeMirzayanov greater than me :)

»
6 лет назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится
  • »
    »
    6 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    I got 2150.

    But it seems there is rating inflation: min rating of all users on my local is now 1584. So maybe if you keep playing you can get higher max rating.

»
6 лет назад, # |
  Проголосовать: нравится +28 Проголосовать: не нравится

I have played the game soo much and found its bug, Believe me it cannot calculate correctly!

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Why no FST and Hack

  • »
    »
    6 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    It should be interesting of get D Pretest passed for Rank 1 and find FST and get rank 12

»
6 лет назад, # |
  Проголосовать: нравится -10 Проголосовать: не нравится

Won 3 consecutive times with highest rating 2355. I may have peaked. Retiring.

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Good Game!

Good Game

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

CONTEST IS RUИNING

Love that!!!

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

It's magnificent! May it be played by multi people together in the future? Like a hacking mode or competing mode?

»
5 лет назад, # |
  Проголосовать: нравится +5 Проголосовать: не нравится

It would be awesome to have a multiplayer mode.

»
4 года назад, # |
  Проголосовать: нравится -8 Проголосовать: не нравится

Why so hard T-T

»
4 года назад, # |
Rev. 2   Проголосовать: нравится -6 Проголосовать: не нравится

Why so hard T-T

»
4 года назад, # |
  Проголосовать: нравится +8 Проголосовать: не нравится

An online multiplayer version would be even more addicting.

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Always spend the whole time to do E instead of the others to show I don't care the rating but how hard problem I can solve.