AgonLight Week Programming Challenge – ISSUE 4

AgonLight Programming challenge is here again! I just wanted to give you some time to rest and refresh for the next round!

As you know we changed the format now you have whole week to solve the problem, not just a weekend!

For these who still didn’t hear about it:

What is WPC?

It’s a small coding challenge that you have to solve for 1 week from Friday 14th of July to Thursday 20th of July.

Who can participate?

Anyone can participate except Olimex employees. You can submit the solutions under your name or anonymously under an alias name.

What are the rules?

The code must run on AgonLight. There are no restriction how you will code your solution: Assembler, Forth, C, BBC Basic, Turbo Pascal for CP/M any tool is possible. If your tool need special installation you should provide brief note how to do it so we can verify your solution.
There is no restriction to re-use code found on internet and adopt it for AgonLight2 as far the code is working and doing the job!
The solutions should be sent to info at olimex dot com. You will receive notification email that the solution is received.

On next Friday 21th of July, we will push all solutions received to a special GitHub repository and announce the winner on Monday 24th of July, who will receive a €50 voucher to use in the Olimex web shop. The jury will consist of Tsvetan Usunov and Bernardo Kastrup.

So z80 retro ninja coders here is the fourth challenge for you!

Make Tetris game for AgonLight in the next 7 days!

https://en.wikipedia.org/wiki/Tetris

Good Luck!

UPDATE-26-07-2023

Three solutions were sent, the winner with the most advanced solution is Lennart Benschop!

You can check them and play here:

https://github.com/OLIMEX/AgonLight-WPC/tree/main/ISSUE-4