Oskar

Results 91 comments of Oskar

Mine stopped complaining after doing this. I don't know if it's the right way though. ```typescript import {SvelteKitAuth} from '@auth/sveltekit' import type {Handle} from '@sveltejs/kit' import type {Provider} from '@auth/core/providers'...

Okay, now it's a bit nicer. Before ```js stw.game.enqueue({type: 'addEnergyToPlayer', amount: 5}); stw.game.update() ``` After (shortcut for above) ```js stw.run('addEnergyToPlayer', {amount: 5}) ```

Ideally it'll be easy nice to use as the CS 1.6 console.

It is probably this? https://github.com/ef4/ember-browserify/issues/14 As a workaround, import the same module from somewhere in `app/` and the import from `test/` will work.

@skaterdav85 it will. Well not the test code, but the module you imported via app will.

@skaterdav85 oh you're right. OK, guess it's not a workaround afterall. Thanks!

Partly done in - https://github.com/oskarrough/slaytheweb/blob/main/src/ui/pages/collection.js#L20-L22 - https://github.com/oskarrough/slaytheweb/blob/main/src/ui/styles/app.css#L482-L505 but could use a refactor and review

Hey, I'm very sorry this never got merged. Are you still interested in it? I don't have any capacity to look at it I'm afraid.

I believe this is resolved now by #189 Playing a card with an action would set `card.action.card = card` which is no good.

I believe the saved game state somehow strips out `game.past.list`, which contains the queue used to undo. This is why there is nothing to undo.