Джерело:
Perl Weekly newsletter
Дата публікації:
17/08/2026 13:00
Постійна адреса новини:
http://www.vsinovyny.com/13147707
17/08/2026 13:00 // Perl Weekly newsletter
In Pacman in Perl/Tk, Alex goes back to a project he worked on in 2013 in order to analyse the separation of logical state from visual representation. By implementing the maze as a two-dimensional array where the shifting and collision functions use tile coordinates instead of canvas pixels, the article is able to exhibit a surprisingly elegant architecture similar to the Model-View approach using standard Perl and Tk.
| « |
Наступна новина з архіву 25+ useful and commonly used Regular Expressions |
Попередня новина з архіву pperl 0.6.12+ - "Shall we play a game?" |
» | |
|
|
||||