### Install Odyc.js using npm Source: https://github.com/achtaitaipai/odyc/blob/main/README.md This snippet demonstrates how to install the Odyc.js library into your project using the npm package manager, making it available for use in your JavaScript applications. ```bash npm install odyc ``` -------------------------------- ### Create a basic Odyc.js game instance Source: https://github.com/achtaitaipai/odyc/blob/main/README.md This example illustrates how to initialize a new game with Odyc.js using the `createGame` function. It defines a player sprite, sets up a simple template, and constructs a basic map layout for the game world. ```javascript import { createGame } from 'odyc' const game = createGame({ player: { sprite: ` ...00... ...00... .000000. 0.0000.0 0.0000.0 ..0000.. ..0..0.. ..0..0.. `, position: [3, 1] }, templates: { x: { sprite: 2 } }, map: ` xxxxxxxx x......x x......x x......x x......x x......x x......x xxxxxxxx ` }) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.