众所周知,人生重开模拟器是一款2020年疫情期间现象级的网页游戏,它本身具备的看海属性是火出圈的一个原因,那我们词库有没有可能能复刻出来呢?
答案是能!
而且性能更加优秀!!
一、如何实现
人生重开模拟器的本质是数以百计的语段和附加在其前面的判断式,这个我们词库3.0,甚至词库2.0就能复刻出来。
以下是一个我们词库复刻的语段
word add 运行人生 “(?:复活主体open:==:2::复活)(?:岁元:<:(#:寿元:(#this)Hum(#:HumNumber:(#this))):: (#this)Hum(#:HumNumber:(#this)))(?:岁元:==:3:: (#this)Hum(#:HumNumber:(#this)))(?:长事件:==:0:: (#this)Hum(#:HumNumber:(#this)))(?:地元:==:0:: (#this)Hum(#:HumNumber:(#this)))(?:血条:!=:0:: (#this)Hum(#:HumNumber:(#this)))(?:事件流:==:0:: (#this)Hum(#:HumNumber:(#this)))(?:世界观:==:0:: (#this)Hum(#:HumNumber:(#this)))(?:出生地:>:1:: (#this)Hum(#:HumNumber:(#this)))(?:长事件:==:0:: (#this)Hum(#:HumNumber:(#this)))(?:家境:>=:9:: (#this)Hum(#:HumNumber:(#this)))(?:长事件:==:0:: (#this)Hum(#:HumNumber:(#this)))(#:岁元: (#this)Hum(#:HumNumber:(#this)))岁:你上了一个昂贵的幼儿园(!:(+:岁元:1:(#this)Hum(#:HumNumber:(#this))))”
