feat: add version to gameInfo export

- gameInfo now includes version from package.json
- Platform can access game version via gameInfo.version
- Useful for version checking and compatibility validation
This commit is contained in:
2025-11-02 17:42:47 +00:00
parent 6ad2119b62
commit 9968c924b9
+3
View File
@@ -1,4 +1,7 @@
import { version } from '../package.json';
export const gameInfo = { export const gameInfo = {
version,
name: 'VIM Maze', name: 'VIM Maze',
description: 'Navigate procedurally generated mazes with VIM-style controls', description: 'Navigate procedurally generated mazes with VIM-style controls',