An open API service indexing awesome lists of open source software.

https://github.com/alexhaxe/haxe-same


https://github.com/alexhaxe/haxe-same

haxe haxeflixel haxeui ui-testing

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# hxSame game

remove all colored tiles to win the [game](https://AlexHaxe.github.io/haxe-same)!

## installation

```bash
gh repo clone AlexHaxe/hxSame
lix download
```

## running the game

`lime test html5`

`lime test hl`

`lime test linux`

`lime test windows` - untested

## unitests

`haxe test.hxml`

## UI-tests

### build game with UI-tests enabled

either

`lime test html5 -D uitests` - for HTML based test (keep browser window open for UI-tests)

`lime build hl -D uitests` - for hl based test

`lime build linux -D uitests` - for hxcpp based test (Linux)

`lime build windows -D uitests` - for hxcpp based test (Windows - untested)

### build UI-test runner

choose according to previous step

`haxe uitestHtml5.hxml`

`haxe uitestHl.hxml`

`haxe uitestLinux.hxml`

`haxe uitestWindows.hxml` - untested

### run UI tests

```bash
./bin/UITestMain
```

you should see something like:

![UI-test animation](assets/images/FlixelUITest.gif)