🕹️ 这些是我在 2004–2008 年间用 Java ME (J2ME) 开发的小游戏和工具,留给了我许多愉快的开发回忆。 那个年代,手机屏幕只有 176×208 或 240×320 像素,内存以 KB 计,每一行代码都要精打细算。 感谢那段纯粹的编程时光。☕
These are small games and tools I built with Java ME (J2ME) between 2004 and 2008 — a period that left me with many fond development memories.
Back then, phone screens were 176×208 or 240×320 pixels, memory was counted in kilobytes, and every line of code had to be meticulously optimized.
Thankful for that era of pure programming joy. ☕
可爱小蜜蜂 · 射击游戏 (v1.0) · ~1,679 lines
控制一只萌萌的小蜜蜂,在花丛间穿梭射击敌人。使用 GameCanvas + Sprite 实现,支持子弹模式切换和震动反馈。
A cute shoot-'em-up where you pilot a little bee through swarms of enemies. Built with GameCanvas + Sprite, featuring bullet mode switching and vibration feedback.
逃亡者 · 飞行射击 (v11.0) · ~3,126 lines
经典竖版飞行射击游戏,历经 11 个版本迭代。支持多种敌人类型、子弹系统、音效、高分记录(RMS 存储)。
A classic vertical-scrolling shooter with 11 version iterations. Features multiple enemy types, bullet systems, sound effects, and high score persistence via RMS.
飞行一万 · 飞行射击 (v1.2) · ~1,151 lines
轻量级飞行射击游戏,使用 GameCanvas + TiledLayer 实现滚动背景和敌机编队。
A lightweight shooter with TiledLayer-based scrolling backgrounds and enemy formations.
猜数字 · 益智小游戏 (v1.0) · ~327 lines
经典的"猜数字"( Bulls & Cows)游戏,手机版实现。简洁小巧,一目了然。
The classic "Bulls & Cows" number guessing game, mobile edition. Simple, small, and fun.
连连看 · 消除游戏 (v1.0) · ~2,680 lines
经典连连看(匹配消除)游戏,支持计时、高分记录和状态显示。
The classic tile-matching / link-elimination game with timer, high scores, and status display.
迷宫 · 迷宫游戏 (v2.5) · ~2,407 lines
自动生成迷宫并求解,支持遗传算法(GA)搜索路径的可视化展示。可自定义迷宫大小和搜索参数。
Auto-generated mazes with pathfinding visualization using a Genetic Algorithm (GA). Customizable maze size and search parameters.
迷宫生成器 · 工具 (v0.1) · ~283 lines
独立的迷宫生成算法实验项目(J2SE 控制台版),用于验证迷宫生成算法。
A standalone maze generation algorithm experiment (J2SE console version) for testing maze generation algorithms.
扫雷 · 经典扫雷 (v2.6) · ~2,916 lines
功能完善的手机扫雷游戏,支持自定义键盘映射、菜单系统、计时、高分记录和状态显示。
A full-featured mobile Minesweeper with customizable key mapping, menu system, timer, high scores, and status display.
纸牌接龙 · 经典纸牌 (v2.1) · ~949 lines
经典 Klondike 纸牌接龙游戏,使用图片精灵渲染卡牌花色和数字。
Classic Klondike Solitaire with sprite-rendered card suits and numbers.
拼图游戏 · 滑动拼图 (v1.0) · ~1,663 lines
数字/图片滑动拼图游戏,支持摄像头拍照作为拼图素材,高分记录。
A sliding puzzle game that supports using camera photos as puzzle images, with high score tracking.
数独 v1.0 · 数独求解器 (v1.0) · ~404 lines
数独求解算法实验项目,使用回溯法 + 栈实现。
A Sudoku solver experiment using backtracking with a stack-based approach.
数独手机版 · 数独游戏 (v1.1) · ~1,424 lines
完整的手机数独游戏,支持自动检测 Nokia 手机优化、难度选择、提示功能。
A complete mobile Sudoku game with Nokia device detection, difficulty selection, and hint features.
俄罗斯方块 v1 · J2SE 桌面版 (v1.0) · ~1,043 lines
最初用 Java AWT 写的桌面版俄罗斯方块,使用 Canvas + KeyListener 实现。
The original Tetris built with Java AWT (desktop), using Canvas + KeyListener.
俄罗斯方块 v2 · J2ME 版 (v1.1) · ~2,167 lines
迁移到 J2ME 平台的俄罗斯方块,加入背景音乐(MID)、音效(AMR)、高分记录。
Tetris ported to J2ME with background music (MID), sound effects (AMR), and high score persistence.
俄罗斯方块 v3 · GameCanvas 重写 (v3.1/v4.0) · ~2,135 lines
使用 GameCanvas 重写的俄罗斯方块,增加了游戏存档、设置保存、开场画面等功能。
Tetris rewritten with GameCanvas, adding game saves, settings persistence, and splash screen.
俄罗斯方块 v3 — getKeyStates 版 (v4.0) · ~2,596 lines
Tetris V3 的变体,使用 GameCanvas.getKeyStates() 实现更流畅的按键响应,加入了步进记录功能。
A variant of Tetris V3 using GameCanvas.getKeyStates() for smoother key response, with step recording.
手机拼音输入法 · 输入法 (v3.4) · ~1,117 lines
基于 LWUIT 框架实现的手机拼音输入法,支持联想词和 3D 过渡动画。内置拼音字库文件。
A mobile Pinyin IME built on the LWUIT framework, featuring word association and 3D transition animations, with bundled Pinyin dictionary files.
手机 UMD 阅读器 · 电子书阅读器 (v1.0) · ~851 lines
UMD 格式电子书阅读器,支持章节解析、zlib 解压缩和图片显示。
A UMD format e-book reader supporting chapter parsing, zlib decompression, and image display.
绝对音感训练 · 音乐训练 (v1.0) · ~278 lines
使用 MMAPI 播放音符,训练绝对音感(识别音高)的小工具。
A perfect pitch training tool using MMAPI to play notes and test pitch recognition.
跳过中国移动提示页 · 网络工具 · ~507 lines
在使用中国移动 WAP 上网时,自动跳过运营商插入的提示页面。支持多种编码自动检测。
Automatically skips the China Mobile WAP gateway's inserted notification pages when browsing. Supports multiple character encodings (GBK, GB2312, ISO-8859-1, UTF-8).
字典密码破解 · 安全工具 · ~316 lines
基于字典的密码破解工具(J2SE 控制台版)。
A dictionary-based password cracking tool (J2SE console version).
| 指标 | 数据 |
|---|---|
| 项目总数 | 20 |
| 代码总行数 | ~31,500+ |
| 编程语言 | Java (J2ME / J2SE) |
| 开发工具 | NetBeans Mobility Pack |
| 目标平台 | CLDC 1.0 / MIDP 2.0 |
| 时间跨度 | 2004 – 2008 |
- 语言: Java ME (CLDC/MIDP)
- UI 框架: LCDUI (Canvas, GameCanvas, Form), LWUIT
- 图形: Sprite, TiledLayer, Image, Graphics
- 存储: RMS (Record Management System)
- 多媒体: MMAPI (MIDI, AMR, ToneControl)
- 网络: HTTP Connection (Generic Connection Framework)
- 第三方库: jzlib (zlib for J2ME), LWUIT
These projects are shared for nostalgic and educational purposes.
这些项目出于怀旧和教育目的分享。
Made with ❤️ and lots of ☕ on a Nokia N73 / Sony Ericsson K750i
用 ❤️ 和大量的 ☕ 在 Nokia N73 / Sony Ericsson K750i 上开发