IT
  
Attualmente si sta visualizzando la versione Italy del sito.
Volete passare al vostro sito locale?
9 TEMPO DI LETTURA MIN

Recreate the Game of Life simulator

Calvin Robinson uses Python and Turtle graphics to run this unique game.

Each issue we’re building a retro video game. In this series of programming games with Python, so far we’ve created a lunar space module, a side scrolling platformer, a 2D graphical insect/animal game, Pac-Man and Pong. Take a look at the Linux Format back catalogue to have a go at creating any of these vintage game formats (more details on page 69).

OUR EXPERT

Calvin Robinson is a subject matter expert at the National Centre for Computing Education, and a computer science teacher.

This issue we’re going to be creating life itself. A simulation of life, that is. Game of Life, sometimes known as just Life, is a unique game in that it doesn’t have any interactive properties, per se. The game is set up or configured and then left to run, simulating the creation of life exponentially. Bear with us on this one…

John Horton Conway, a British mathematician, invented the Game of Life in 1970 based on the work of John von Neumann in 1940. The very same John von Neumann, a Hungarian mathematician, who would later go on to design von Neumann architecture - the basis of all modern central processing units (CPUs). We’ve no idea why all 20th century mathematicians were apparently called John. Von Neumann’s original theory was that a being or organism should be able to reproduce itself and pass the tests of the Turing machine, in order to call itself ‘life’.

Game of Life simulates an unpredictable environment and monitors the behaviour of cell automata based on a set of predefined rules. This is similar to the principle still used in contemporary virus behaviour modelling. No doubt mathematicians around the world have been using advanced adaptations of this methodology to predict Coronavirus spread rates. To prove that the automaton was ‘alive’ the game would have to be able to run for a long period without the cells dying, and the original configuration would need run indefinitely, without any loop cycles.

Sbloccate questo articolo e molto altro con
Si può godere di:
Godetevi questa edizione per intero
Accesso immediato a oltre 600 titoli
Migliaia di numeri arretrati
Nessun contratto o impegno
Prova per €1.09
ABBONATI ORA
30 giorni di accesso, poi solo €11,99 / mese. Disdetta in qualsiasi momento. Solo per i nuovi abbonati.


Per saperne di più
Pocketmags Plus
Pocketmags Plus

Questo articolo è...


View Issues
Linux Format
September 2020
VISUALIZZA IN NEGOZIO

Altri articoli in questo numero


In This Issue
Backups are dead, long live backups!
No one needs to back up any more. Yes, after
REVIEWS
AMD Ryzen 3 3300X
We always enjoy looking back at the past with processors,
Crucial P2 500GB
On the hunt for a new SSD for your system?
EndeavourOS 7.15.2020
An intermediate, rolling release, distro for anyone wanting a taste
BunsenLabs Lithium
A lightweight Debian-based distribution that leverages OpenBox, Tint2 and Compton
Tropico 6
Tropico 6 is a great game for people watching. It’s
ROUNDUP
Privacy distributions
Specialist distributions such as the ones featured in this Roundup
BACK UP LIKE CLOCKWORK!
There are two types of people in this world: those
INTERVIEW
PRESSURE VESSEL
Simon McVittie is a Debian developer and a consultant for
IN-DEPTH
LibreOffice 7
These very words have been written with LibreOffice 7.0 and
Pi USER
KEEPING ALL CHANNELS OPEN
Cerys Lock is the organiser of the Stafford Raspberry Jam
Self-hosting Raspberry Pi cluster of Pis
We get the feeling that large sections of the population
Radio PiPi
Part of the Pi’s appeal is the physical interaction necessary
Pi in Space
We’ve mentioned multiple times over the past year the various
4tronix Picon Plus
An advanced motor controller for the Raspberry Pi that provides
How to run Arch Linux on the Pi
Jonni Bidwell thinks he can hear the unmistakable sound of
REGULARS AT A GLANCE
LibreOffice looks to protect long-term viability
There was a brief internet drama back in July when
Tor Project under threat
You may never have heard of the US Open Technology
Encrypted Data Act
Conspiracy theorists often say governments love spying on their citizens
RING THE PLUMBER!
A key improvement that PipeWire brings over PulseAudio is that
THAT’S NO WOLF
You may think of MongoDB as a wolf hiding in
Linux Foundation to track and trace Covid-19
Ireland’s Health Service Executive (HSE) has announced that it’s donating
Proton 5.0
It’s a regular theme that we cover the latest milestone
Manjaro changes
The Treasurer of the Manjaro project has stepped down over
Distro watch
Lovers of reptile-based distros will love the latest spin of
WANTS AND NEEDS
We’ve just had an email from a client who wants
LINUX IS THE TOPS
Linux turned 29 shortly after we went to press. The
Kernel Watch
Linus Torvalds announced the release of Linux 5.8, which has
ONGOING DEVELOPMENT
Steven Price (Arm) posted a patch enabling MTE (memory tagging
Answers
Got a burning question about open source or the kernel?
Mailserver
Write to us at Linux Format, Future Publishing, Quay House, The
Symphonium
Alexander Tolstoy has an open source app for everything, not
Cadmus
Few people want background noise in their audio recordings, and
E4head
This article was written when Fedora developers were discussing the
Gromit-MPX
During a presentation in front of an audience, it’s common
Fsmon
Sometimes there’s a good reason to know a bit more
Qt-SESAM
Every once in a while there’s a study on network
Video-trimmer
Normally, few people would reach for a heavyweight video-editing application
Pillar Valley
The Pillar Valley author declares on its Github front page
Caveexpress
Most platform-style arcade games have so much in common that
Flatpak
The two main rivals in application sandboxing are Snap and
Viper Browser
Browsing the web is one computing task that’s well served
TUTORIALS
Assemble basic touch and motor controls
Les Pounder is associate editor at Tom’s Hardware and a
Scheduling tasks
Shashank Sharma is a trial lawyer in Delhi. He collects
Databases made quick and easy
Nick Peers built his first database for his computer science
Build a streaming video web service
The (fictional) Brixton Youth Sports Association (BYSA) needs a place
BASIC and demos on the Commodore 64
The Personal Computer with Professional Power was how the Commodore
Create a video game in the Godot engine
Godot is an open source video game development engine. In
Chat
X
Supporto Pocketmags