这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@shaiay
Copy link

@shaiay shaiay commented May 9, 2015

Hi

After some frustrating silly deaths I decided to add an undo function. I takes you back 10 steps, and will also work when you're dead.
I know there is a small chance of it being acepted with it being against the whole roguelike idea, but just in case, I tried to make it as easy as posible to merge.

It works by saving the game/level on hero.idle() to a size 10 FIFO buffer which is written to using a ByteArrayStream.
When requesting undo the game & level are reaf back from the first (oldest) FIFO elemet.

Shai

@sethoscope
Copy link

I would certainly enjoy that feature. Many of my deaths are due to not paying enough attention, but often I don't really want to pay more attention.

Maybe if undo is used during a game, the game should not appear on the leaderboard.

@cedillomarcos
Copy link

hey....this feature it's cool.
Maybe, if is used...you lose the half of your money..and a randon number of
items.

El domingo, 10 de mayo de 2015, Seth Golub notifications@github.com
escribió:

I would certainly enjoy that feature. Many of my deaths are due to not
paying enough attention, but often I don't really want to pay more
attention.

Maybe if undo is used during a game, the game should not appear on the
leaderboard.


Reply to this email directly or view it on GitHub.<
https://ci4.googleusercontent.com/proxy/AzMqaGAHT7dU3gD3WE2Kd4WGbAZQ8J9dGKqu4S5-NlfhvoAexVgOJy2iTb1VuqvW8mF8m8io0WWADn10V_N5nHw1Rweqz39cccFRTMxnOcVdPNgemDapUPQuzfEg2MO9TSLHnFIdoTsEXHRjxt2EjL6Qsxj8_g=s0-d-e1-ft#https://github.com/notifications/beacon/AAlTdtLzchHqg9YBJeoM0rmoTp-vlqPdks5oH8jdgaJpZM4EVCq6.gif

@shaiay shaiay closed this May 11, 2015
@shaiay shaiay deleted the undone branch May 11, 2015 03:31
@shaiay
Copy link
Author

shaiay commented May 11, 2015

I'm sorry I closed this - git newbee. I just wanted to rename my branch.
reopeoend as #54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants