Tagged articles
8 articles
Page 1 of 1
Python Programming Learning Circle
Python Programming Learning Circle
Feb 19, 2024 · Game Development

Python Pygame Implementations of Classic Games: 2048, Snake, Tetris, and LianLianKan

This article provides step-by-step tutorials and complete Python Pygame source code for implementing four classic games—2048, Snake, Tetris, and LianLianKan—explaining game mechanics, design principles, and code structure to help Python developers build and understand these interactive applications.

2048Game DevelopmentLianLianKan
0 likes · 43 min read
Python Pygame Implementations of Classic Games: 2048, Snake, Tetris, and LianLianKan
Python Programming Learning Circle
Python Programming Learning Circle
Nov 13, 2021 · Game Development

Python Game Development Tutorials: 2048, Snake, Tetris, and LianLianKan with Pygame and Tkinter

This article provides step‑by‑step Python tutorials for creating classic games—including 2048, Snake, Tetris, and LianLianKan—detailing design principles, core logic, and complete source code using Pygame and Tkinter for learners with basic Python and game‑programming knowledge.

2048Game DevelopmentLianLianKan
0 likes · 39 min read
Python Game Development Tutorials: 2048, Snake, Tetris, and LianLianKan with Pygame and Tkinter
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Aug 20, 2021 · Artificial Intelligence

Training a DQN AI to Master 2048: Step-by-Step Guide

This article walks through using reinforcement learning with a Deep Q‑Network in PyTorch to train an AI agent that plays the 2048 puzzle game, covering environment setup, algorithm implementation, network design, and a short training run that achieves a score of 256.

2048AIDQN
0 likes · 8 min read
Training a DQN AI to Master 2048: Step-by-Step Guide
Programmer DD
Programmer DD
Nov 23, 2020 · Artificial Intelligence

Mastering 2048 with Expectimax: An AI‑Driven Strategy Guide

This article explains how to apply the Expectimax search algorithm to the 2048 puzzle game, detailing the game mechanics, problem formulation, scoring heuristics, pseudocode, and performance optimizations to choose the best move at each step despite the game's randomness.

2048Expectimaxgame AI
0 likes · 10 min read
Mastering 2048 with Expectimax: An AI‑Driven Strategy Guide
DataFunTalk
DataFunTalk
Dec 10, 2019 · Artificial Intelligence

Applying Deep Reinforcement Learning (DQN) to the 2048 Game: Experiments and Insights

This article details a series of reinforcement‑learning experiments on the 2048 game, from random baselines through DQN implementations, classical value‑iteration methods, network redesigns, and Monte‑Carlo tree search, highlighting challenges such as reward design, over‑estimation, and exploration while achieving scores up to 34 000 and tiles of 2048.

2048AIDQN
0 likes · 8 min read
Applying Deep Reinforcement Learning (DQN) to the 2048 Game: Experiments and Insights
MaGe Linux Operations
MaGe Linux Operations
Jun 28, 2019 · Game Development

Build a Console 2048 Game in Python: Complete Step-by-Step Guide

This article walks through the full implementation of a console‑based 2048 game in Python, covering the main game loop, movement logic using matrix operations, random tile generation, score handling, board rendering with curses, and the initialization process, all illustrated with code snippets and diagrams.

2048Game DevelopmentPython
0 likes · 12 min read
Build a Console 2048 Game in Python: Complete Step-by-Step Guide
Suning Design
Suning Design
Jun 2, 2014 · Mobile Development

From Web Game to Mobile App: The 2048 Journey and Lessons Learned

The author recounts how a simple web‑based 2048 clone unexpectedly went viral, the pressures of sudden fame, the ethical dilemmas of monetizing an open‑source game, and the technical process of turning it into a PhoneGap‑based mobile app while reflecting on personal growth.

2048Game DevelopmentPhoneGap
0 likes · 13 min read
From Web Game to Mobile App: The 2048 Journey and Lessons Learned