My point being that 200 lines of code without some kind of size limit e.g total character length could contain a huge code base just no line feed characters.
Here's a 6 line business card reflection probe demo for Unity.
- using UnityEngine;using UnityEngine.Rendering;
- public class UBC:MonoBehaviour{private int[] txt={524288,1432917,1906002,1383925};private Material m;
- void Start(){m=new Material(Shader.Find("Standard"));m.SetFloat("_Metallic", 1f);m.SetFloat("_Glossiness",1f);int y=txt.Length;for(int i=0;i<txt.Length;i++){int x=10;for(int b=1;b<=1048576;b=b<<1){if((txt[i]&b)>0)B(x,y);x--;}y--;}G(10,10);GameObject p=new GameObject("ReflectionProbe");ReflectionProbe pc=p.AddComponent<ReflectionProbe>()as ReflectionProbe;pc.resolution=256;pc.size=new Vector3(20,20,20);p.transform.position=new Vector3(0,5,0);pc.mode=ReflectionProbeMode.Realtime;pc.refreshMode=ReflectionProbeRefreshMode.EveryFrame; }
- void B(int x,int y){GameObject b=GameObject.CreatePrimitive(PrimitiveType.Sphere);b.transform.position=new Vector3(x,y,0f);b.GetComponent<Renderer>().material=m;}
- void C(int x,int z,bool red){float t=2f;GameObject c=GameObject.CreatePrimitive(PrimitiveType.Cube);Vector3 s=c.transform.localScale;s*=t;c.transform.localScale=s;c.transform.position=new Vector3(x*t,-3,z*t);c.GetComponent<Renderer>().material.color=red?Color.red:Color.white;}
- void G(int x,int z){bool c=false;for(int a=-x;a<x;a++){for(int b=-z;b<z;b++){C(a,b,c);c=!c;}c=!c;}}}
It's about 1223 characters.