Skip to content

Commit

Permalink
feat: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
yan-elena committed Sep 1, 2023
1 parent cdf0295 commit 181db73
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/agt/bob.asl
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,22 @@ test1(1).

+?test2(2).

+count(3) <- a7.
+!g.

+count(3) <- !g; a7.

+b(0) <- !g.

+tellHello
<- .print("receive tell hello").
<- !g; .print("receive tell hello").

+!achieveHello
<- .print("receive achieve hello").
<- !g; .print("receive achieve hello").

+signalHello <- !g.

+tick
<- .print("tick message").
<- !g; .print("tick message").

{ include("$jacamoJar/templates/common-cartago.asl") }
{ include("$jacamoJar/templates/common-moise.asl") }
Expand Down

0 comments on commit 181db73

Please sign in to comment.