Clicking back button after submission results in loss of code

After completing a challenge and clicking the submit button, if you click the back button after getting your score, you will be taken back to the editor but with the default code instead of the code you submitted, and all past entries are either deleted or reset to the default code template. I found this bug to be extremely annoying after spending about 2 hours working on a problem, only to lose it all for pressing the back button.

Steps to reproduce:

  1. log into codingame.com and select a puzzle
  2. alter the puzzle code
  3. submit the altered code
  4. press back button in browser, note that default code is present instead of previous alterations.

But why you don’t use version control / your IDE?

A fix for this issue has been made, and will be active shortly.

4 Likes