v1.0.0: Full release! Supports submissions and fixed controls. v1.0.1: Added version number to the scoreboard sheet. v1.0.2: Made the submit button actually in the correct spot. Added access to changelog (no button yet). v1.0.3: Centered game. v1.0.4: Quick bugfix with the hold function ending the game. Also added an info thing. v1.0.5: Added date/time recorder into scoreboard.txt v1.0.6: Bugfix for v1.0.5 where no submissions were added v1.0.6.1: Changed the "download scoreboard" button to "view scoreboard" v1.0.7: Added the missing BF shape 7-29-19 v1.1: DATABASE UPDATE Added database for scoreboards (it is barely in readable form yet though, haha) Accounts and better scoreboard readability are to come! 7-29-19 v1.1.0.1: Tiny fix: Scoreboard link actually goes to the scoreboard 7-29-19 v1.1: Scoreboards look identical to as they were before No more fake scores 7-29-19 v1.1.1: Made the info box compatible with all screen sizes and resolutions Set the groundwork for v1.2, the account update 7-29-19 v1.1.2: Added a username changing option 7-29-19 v1.1.3: Added username reset option 7-30-19 v1.1.4: Made the username changing menu in the '/' endpoint so no linking Game now only starts on canvas click, not body click 7-30-19 v1.1.4.1: Added discord link to sidebar 7-30-19 v1.1.4.2: Added changelog link to sidebar 7-30-19 v1.2 BETA: HEXOMINO UPDATE Added 6-moes 7-31-19 v1.2.1 BETA: Added probability to the 6-moes so they do not appear as often until your level is higher. 7-31-19 v1.2.2 BETA: Made sidebar disappear for mobile 7-31-19 v1.2.3 BETA: Mobile controls 7-31-19 v1.2.4 BETA: Fixed hard drop on mobile 7-31-19 v1.2.4.1 BETA: No longer zooms when double tapping 7-31-19 v1.2.5: FULL RELEASE OF v1.2 Added dark mode 8-2-19 v1.2.6: 7-moes and 8 moes added. There's nothing to worry about, 7-moes don't show up until level 4 and 8-moes don't show up until level 8. Made the mobile version have a sidebar. 8-14-19 v1.3 BETA: Added new way to choose your piece order at the beginning of each level. Pieces are now tailored to fit better together (at least for lower levels) 8-14-19 v1.3.1 BETA: Added pause button and autopausing during selection Moved information button to sidebar 8-15-19 v1.3.2 BETA: Fixed GAME-BREAKING bug with levelling up Support added for level 4 8-17-19 v1.3.3 BETA: Added cycling (please ignore the dancing next piece) 8-20-19 v1.3.3.1 BETA: Swapped soft and hard drop for mobile controls upon request. 8-20-19 v1.3.3.2 BETA: Bugfix when passing level 4 8-22-19 v1.3.3.3 BETA: Made the choosing pieces message "less threatening". 8-22-19 v1.3.4 BETA: Added new start screen and how to play screen. 8-22-19 v1.3.5 BETA: FULL RELEASE OF v1.3 That being said, it's considered a beta for Petrig. v1.4 will be full release of Petrig, but don't expect it to be great. Added start of new Petrig mode. Feel free to play around. 8-22-19 v1.3.5.1 BETA: Added link to petrig in the sidebar 8-22-19 v1.3.5.2 BETA: Made Petrig fit on smaller screens Added controls for Petrig 8-22-19 v1.3.5.3 BETA: Made Petrig have the correct amount of minoes 8-23-19 v1.4 BETA: Shaky ass update for v1.4! Now with Jigsaw mode where you can play a jigsaw and tile the board! Hopefully it works, please report any bugs. 9-3-19 v1.4.0.1: Removed all instances of forms used for POST requests. Woohoo! Also sorry about not having updates I was on vacation. More updates to come! 9-4-19 v1.4.0.2: Added more dates to the changelog. 10-2-19 v1.4.1: Some changes made in a PR by PercyCho. 10-4-19 v1.4.1.1: HUGE bugfix where users could potentially get infinite times when switching to another tab 10-5-19 v1.4.2: Made scoreboard look nice and sorted by time. And I fucked up big time by deleting all the times over 250. Rip the good scores. 10-16-19 v1.4.3: Added autopause. This led a whole bunch of bugs, which I fixed, culminating in this update. 11-6-19 v1.4.4: More style changes in a PR by PercyCho. This will probably be the last update for a while. There may be some sooner but do not expect v1.5 to come out until 2020. In my opinion the project is pretty good right now and the best thing to do would be to overhaul mobile which falls secondary to other projects. PR's will still be accepted (if they are good, of course) but don't expect original work. 11-9-19 v1.4.4.1: Fixed bugs with v1.4.4. Changed "Change Username" to "Set Username" 11-14-19 v1.4.4.2: BIG FIX: All scoreboard submissions show up! Before, one submission per time would show up, e.g. if there are multiple times with 441, only the most recent one would show up. Now, all will show up! 11-26-19 v1.4.4.3: Added API controls. I won't go into detail on them here, but they will definitely be fleshed out by the time 1.5 comes. There's also a desktop version of Petris coming out shortly. Depending on how severe the fake solve crisis is, it may or may not be required to play on the desktop version. Playing on desktop is highly recommended, though. It'll be free. More information will come when v1.5 drops. 11-26-19 v1.4.5: Holy shit! 2 updates in 1 day! Wow! Anyways, there's a download link for downloadable Petris (woot woot). The update schedule for that will be more regular because it doesn't automatically update, however, I will try to make the updating frequency as low as possible. It's still in beta as it's not finalized (that's when 1.5 will come out) but when it does, you can expect to see some changes here too. Otherwise, there's really nothing else. 12-13-19 v1.5: It's the happiest time of the year and what better way to spend it than playing Petris 1.5!!! You heard me. I'm not trolling. Before we get into the specifics of the update, let's talk about a few things first. The time between 1.4 and 1.5 has been just shy of 4 months. Let me put that into perspective. The time between when my first local copy of Petris was created and 1.4 was nearly 3 months. I can guarantee you. this is the largest update yet, and for good reason. I've been working very hard on this update since November, which is honestly the most time I've ever spent on an update. Now let's talk specifics of the update. I'll go over a list here. - Accounts. Yep. I promised this back in 1.2 but I got scared by cryptography so I didn't, but it's here now. You don't need one to play (but you should get one). There's no reason not to. Your scores will save across computers, plus you can access themes and achievements, both of which I'll go over later. You can also access a user's info via the API. Users with accounts also get access to Patron-only perks, assuming they're a patron. You might be wondering how secure this is, though. Don't worry, I use bcrypt with 15-degree salting and hashing to store the passwords so even if the data's hacked, there's no way people will find your passwords. This does lead to some 2-3 second lag when logging in though. The code's also completely protected against SQL injection attacks. It's one of the best parts of the update, I'd say. - Themes. Themes are neat because before we had light and dark theme, and that was it. Now, we have all sorts of piece themes, ranging from the default, to alien, to monochromatic, to holiday! There's a special free holiday theme available for use until the New Year. Otherwise, themes can be unlocked by getting better scores/times or being a patron. - Achievements. Otherwise known as cheevos in the code, achievements are another initiative to keep playing. You can get these only if you have an account. They're a fun way to track your progress and an incentive to keep going. - New board sizes. Arguably the most important part of the update, there are 3 new board sizes to try. 20x5, 20x15, and 20x20. Each goes to seperate leaderboards. They add a nice twist to the game, but make sure to please don't refresh if you get a board size you don't like. This is critical to make sure we get as much data as possible. Otherwise, I think these new sizes are really fun! 12-14-19 v1.5.0.1: Fixed some bugs. Will release 1.5.1 with all the bug fixes later. 12-84-19 v1.5.0.2: Made all scoreboards viewable. Go to /newsb/ten, /newsb/five, /newsb/fifteen, or /newsb/twenty to see the scoreboards.