Activity

Linus

I added a How to play guide to the README and wrote code formatter styles. Also, a new flake is used for the build tools. This sadly builds LLVM from source (although it shouldn’t), but that result is cached.

Attachment
0
Linus

Shipped this project!

I was told to reship to get the cookies for everything I did after the first ship was initially rejected.
This mainly is the UI cleanup and more line colors (including Austria and Switzerland).

Linus

I rewrote almost all the logic in C++.

  • A cell is now a class object, and handles actions itself.
    It also stores more information, such as its own position, the number of neighboring flags and mines, etc. The previous CellState enum has been broken up into the new CellState, consisting only of HIDDEN, REVEALED and FLAGGED, and the boolean _isFlag/isFlag(). Along with other global counters for flags and mines, this leads to major optimizations, which are needed for the increased field size.
  • As a side effect, the win condition should now also allow flagless runs.
  • Saves are now actually written back to the Archive (Flash).

Regarding the screenshot: I am not playing a flagless game of 12x12 Minesweeper. If anyone does so, mention me on Slack.

Attachment
0
Linus

I fixed an exploit a friend found through code analysis, which may have allowed the player to spam flags and win. The game now counts flags placed and compares that number with the total number of mines.
Also, I added a stopwatch and the high score list to the sidebar, so you can always see if you’re on a PB pace or if you should give up. To make room, I reduced the scale and increased field size to fill the empty space. Sadly, the unoptimized parts of the game now run like trash. I will need to rewrite them.

Attachment
0
Linus

I modified the line-colors-api backend slightly to also incorporate Vienna, Hannover and Switzerland

Attachment
0
Linus

I removed the ugly bottom bar, but that is just a minor change.
Most importantly, the font size is now dependent on the screen size.
Also, if there are no departures, an appropriate message will be displayed (No departures available or No stop selected)
Also, more departures are now displayed. (This is true to real life, if there is a marquee message, it’s 5, otherwise 7.)

Attachment
Attachment
Attachment
0
Linus

Shipped this project!

Hours: 6.78
Cookies: 🍪 104
Multiplier: 15.38 cookies/hr

This is some really complicated AJAX. I deployed the site using the new Deno Deploy, both the backend and the frontend. The line-colors-api had me learn to use the basics of Oak, as it uses a CORS middleware. The frontend made me learn some more CSS, and I now want TSC to support Web targets even more.

Linus

I made some final changes, fixing a11y warnings (and removing the circle line shape). Ready to ship!

Attachment
1

Comments

nok
nok about 1 month ago

wow that’s cool!

Linus

I added the bottom bar and a flavortown link next to a marquee for news.
No functionality changed. It’s just optics now, and maybe geolocation. (Famous last words)

Attachment
Attachment
0
Linus

I added the remaining line shapes as well as rectangles with borders.
Also, the text “sofort” now only shows under 1 min if the stoptime has real-time data, as in real life.

Attachment
0
Linus

I added functionality to get real line shapes. More will be added later, along with proper proportions. A demo URL is also almost ready.

Attachment
0
Linus

A lot of the project is finished already. It displays departure times etc. Some problems include the following:

  • Line icons do not have the correct shape. The Transitous API uses traewelling/line-colors, but only provides the colors. The shape needs to be gotten either directly from the source or by building a dedicated API.
  • Padding on most elements does not match the real life model. This is simply some trial and error. The UI is also currently not responsive AT ALL.

TODO:

  • Add a “My location” button (maybe in the H symbol)
  • Make the clock blink every second and switch on the minute.
Attachment
2

Comments

selmaqrini
selmaqrini 2 months ago

Goodluck keep going !

heinichtoni
heinichtoni about 1 month ago

Sieht ziemlich gut aus 👍