Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# Playground
# playGround

Apps and games built with Claude.
## Overview
Single-file HTML mini-games for kids — no build step, pure browser arcade.

## Features
- Bilingual UI (RU/LV switcher)
- Mobile-friendly touch controls
- Dark arcade aesthetic

## Testing
To run tests, open `test.js` in a browser.
11 changes: 11 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// test.js — basic testing setup for playGround

// Example test cases
function testLang() {
const lang = window.Lang;
console.assert(lang.t('Привет', 'Sveiki', 'Hello') === 'Hello · Привет', 'Test failed: Language translation');
console.assert(lang.t('Привет', 'Sveiki', 'Привет') === 'Привет', 'Test failed: No duplicate translation');
}

testLang();
console.log('All tests passed!');