Log In  
Follow
didierbyte
[ :: Read More :: ]

A simple idea I wanted to share with you.

I use a p8 file with a few utility classes. I place the unit tests on the first tab.

When I run my library code, it tests it.

If I want to include my vector class, for example, in another program, I include it “#include utils.p8:1” (only tab 1). This way, the weight of my tests doesn't count on the other program.

I find this an elegant way of managing tested reusable code.

P#149650 2024-06-08 21:14 ( Edited 2024-06-08 21:16)

[ :: Read More :: ]

Cart #exitdidierbyte-1 | 2024-05-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

A little game where you have to find the EXIT.

Orange arrows -> The EXIT is on the UP, LEFT, RIGHT, BOTTOM
0 - 9 digit -> The EXIT is at "x" case (manathan distance)
Red arrows -> The EXIT is not on this row / column

Enjoy !

P#147794 2024-05-02 21:58 ( Edited 2024-05-03 08:20)