feat: hash traversals
This commit is contained in:
parent
b5ae86bc23
commit
20de4fcf30
|
@ -42,6 +42,7 @@ function kittyJSON(position) {
|
|||
const buildRandom = (min, max, floor = true) => {
|
||||
return {
|
||||
type: 'traversal',
|
||||
hash: 1,
|
||||
steps: [
|
||||
{
|
||||
type: 'key',
|
||||
|
@ -90,6 +91,7 @@ function kittyJSON(position) {
|
|||
actions: [
|
||||
{
|
||||
type: 'action',
|
||||
hash: 2,
|
||||
steps: [
|
||||
{
|
||||
type: 'key',
|
||||
|
@ -109,6 +111,7 @@ function kittyJSON(position) {
|
|||
},
|
||||
{
|
||||
type: 'action',
|
||||
hash: 3,
|
||||
steps: [
|
||||
{
|
||||
type: 'key',
|
||||
|
@ -128,6 +131,7 @@ function kittyJSON(position) {
|
|||
},
|
||||
{
|
||||
type: 'action',
|
||||
hash: 4,
|
||||
steps: [
|
||||
{
|
||||
type: 'key',
|
||||
|
@ -142,6 +146,7 @@ function kittyJSON(position) {
|
|||
},
|
||||
{
|
||||
type: 'action',
|
||||
hash: 5,
|
||||
steps: [
|
||||
{
|
||||
type: 'key',
|
||||
|
|
Loading…
Reference in New Issue
Block a user