#FiniteStateMachine

Fundor333fundor333
2025-05-23

I deow this flowchart for the next DnD session (we have a boss battle).

Can I make a finite-state machine out of this? I will try

flowchart
2023-12-25

Does anyone has an opinion on #KStatemachine vs #FlowRedux? In the past we used #FlowRedux for #KotlinMultiPlatform. I actually can't remember, why we did not used KStatemachine. There was a reason. Anyway. Would love to test the situation of #FiniteStateMachine together with maybe #Decompose and #Jetbrains #ComposeMultiplatform.

Especially regarding network requests, need for triggering login again and coming back where you were, some side running services and states in parallel like bluetooth

🔀 🔁 ∞=∞ (z66is.com)z66is@cybre.space
2018-07-20

#python3
#goto
#automaton
#FiniteStateMachine
#HigherOrderFunction
#Zelah

def sieve(v):return v%2==1

gen=range(0,8)

def yesTest(sieve,val,yes,no):
if sieve(val):return yes
else:return no

def yes(val):yield val

def no(val):
if False:yield val

def keep(sieve,gen):
global yesTest,yes,noTest,no
goto,yesTest,yes,noTest,no=(yesTest,yes,yesTest,no),0,1,2,3
p=yesTest
for val in gen:
p=goto[p](sieve,val,yes,no)
for i in goto[p](val):
yield i
p-=1

for i in keep(sieve,gen):print(i)

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst