Skip to content

Instantly share code, notes, and snippets.

View vitvakatu's full-sized avatar

Ilya Bogdanov vitvakatu

  • Tbilisi
View GitHub Profile

Zemeroth's devlog 2: Pre-built binaries, Jokers, Rancor, Blood and more

Hi, comrades! Welcome to the second issue of Zemeroth's devlog.

[Zemeroth] is a turn-based hexagonal tactical game written in Rust.

It slowly grows into a middle-sized project: [Zemeroth] has [4.3k LoCs] and 82🌟 now. Though I still can't find enough free time to work on it on daily basis and I have to take weeks-long breaks sometimes.

import plotly
from plotly.graph_objs import Scatter, Layout
trace1 = Scatter(
x = [0, 0.06, 0.0715],
y = [236, 38, 0],
name = 'n(M)',
line = dict(
shape = 'linear',
width = 3,
05-29 12:05:42.824 E/RSCStateMachine( 2288): Unable to communicate with RAS
05-29 12:05:42.824 E/RSCStateMachine( 2288): android.os.RemoteException: RoomAndroidService has died
05-29 12:05:42.824 E/RSCStateMachine( 2288): at com.google.android.gms.games.service.statemachine.roomclient.RoomClientState.getRemoteException(RoomClientState.java:51)
05-29 12:05:42.824 E/RSCStateMachine( 2288): at com.google.android.gms.games.service.statemachine.roomclient.WaitServiceSetupState$1.binderDied(WaitServiceSetupState.java:44)
05-29 12:05:42.824 E/RSCStateMachine( 2288): at android.os.BinderProxy.sendDeathNotice(Binder.java:551)
05-29 12:05:42.836 I/RSCStateMachine( 2288): Unable to kill RAS (may already be dead)
05-29 12:05:42.836 I/RSCStateMachine( 2288): android.os.DeadObjectException
05-29 12:05:42.836 I/RSCStateMachine( 2288): at android.os.BinderProxy.transactNative(Native Method)
05-29 12:05:42.836 I/RSCStateMachine( 2288): at android.os.BinderProxy.transact(Binder.java:496)
05-29 12:05:42.836 I/RSCStateMachi
error: borrowed value does not live long enough
--> src/lib.rs:59:15
|
59 | (&mut self.sub_ref.drain(..), &mut self.epoch.as_mut_slice())
| ^^^^^^^^^^^^^^^^^^^^^^ does not live long enough
60 | }
| - temporary value only lives until here
|
note: borrowed value must be valid for the anonymous lifetime #1 defined on the body at 58:75...
--> src/lib.rs:58:76