zmertens / SeqAndDestroy

A bubble-shooter game where the ammunition are siRNA sequences fighting off the HIV sequences. Both sequences must align in order to destroy the HIV groups.
MIT License
1 stars 2 forks source link

Using DAWG to simulate a sequence #41

Open zmertens opened 6 years ago

zmertens commented 6 years ago

I want to try to use DAWG to simulate a sequence to be used for laying out the battlefield.

So far I have, using Emscripten, created a dawg.js module that can be loaded into the Phaser game project correctly. I haven't done a thorough testing of DAWG's API but the random number generator is hooked in.

Thus I have 1 TODO right now: 1 Use DAWG RNA simulator for generating the rows. Pre-generate the row, like a FASTA formatted sequence with a root length proportional to the screen resolution. Keep pre-generating rows when necessary.

DAWG is added as a submodule (wasn't sure of an easier way to do it). See dawg_module branch

zmertens commented 6 years ago