© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
R. WienerGeneric Data Structures and Algorithms in Gohttps://doi.org/10.1007/978-1-4842-8191-8_4

4. ADT in Action: Game of Life

Richard Wiener1  
(1)
Colorado Springs, CO, USA
 

In the previous chapter, we showed how abstract data types can be implemented and how object-oriented programming can be performed in Go. In this chapter, we continue to explore object-oriented programming in Go. We implement the classic Game of Life. We introduce and utilize a third-party GUI package as part of our implementation.

In the next section, we specify the Game of Life.

4.1 Game

To illustrate the central role that ADTs can play in software design, we explore the Game of Life, ...

Get Generic Data Structures and Algorithms in Go: An Applied Approach Using Concurrency, Genericity and Heuristics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.